electron-svelte-esbuild-template

Electron Svelte Esbuild Template

A starter kit to build cross-platform desktop apps with Electron, Svelte, and Esbuild.

Svelte-Esbuild-Electron template

A starter kit to build cross-platform desktop apps with Electron, Svelte, and Esbuild :

  • Windows (portable executable)
  • Linux (AppImage)

Install

git clone https://github.com/Tazeg/electron-svelte-esbuild-template.git
cd electron-svelte-esbuild-template
yarn install # or npm
cd electron
yarn install

Developpement

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)

Build for production

cd electron-svelte-esbuild-template
yarn run buildlinux
yarn run buildwindows

The desktop portable apps are built in the dist/ directory.

Top categories

Loading Svelte Themes