This template is outdated and superseeded by many others, such as electron-vite or setups using vite-plugin-electron-x.
Get up and running with 💪 Svelte & ⚡ Electron.
opinionated svelte & electron boilerplate
npm install
npm run boot
to run dev enviromentpackage.json
for build scripts / use electron buildersrc/index.js
- Main electron process. src/svelte.js
- Svelte app entrypoint. src/components
- Svelte componentssrc/preload.js
- Electron preload scriptpublic/global.css
- Global css filepublic/build
- bundled js and css files by svelte