A starter kit to build cross-platform desktop apps with Electron, Svelte, and Esbuild :
git clone https://github.com/Tazeg/electron-svelte-esbuild-template.git
cd electron-svelte-esbuild-template
yarn install # or npm
cd electron
yarn install
cd electron-svelte-esbuild-template
yarn run dev
The Hot Module Replacement (HMR) feature will reload the browser while you are coding (thanks to electron-reloader)
cd electron-svelte-esbuild-template
yarn run buildlinux
yarn run buildwindows
The desktop portable apps are built in the dist/
directory.