Template to create a desktop app with Svelte, TailwindCSS, Electron and TypeScript (with electron-updater, electron-reload and electron-builder)
This is a project template for Svelte and Electron apps. It lives at https://github.com/el3um4s/memento-svelte-electron-typescript.
To create a new project based on this template using degit:
npx degit el3um4s/memento-svelte-electron-typescript svelte-app
cd svelte-app
Then install the dependencies with
npm install
Note that you will need to have Node.js installed.
For development purpose:
npm run nodemon: auto restart Electron on changenpm run dev: auto reload the web page when you change Svelte filesFor publish purpose:
npm run out:win: create an exe file for Windowsnpm run publish:win: publish the app on GitHubFor test purpose:
npm run test: test the appnpm run test:show-trace: open the saved testing trace using Playwright CLII'm blogging about the development process in these posts: