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