electron-svelte-typescript-esbuild-template

Electron Svelte Typescript Esbuild Template

Starter kit to build cross-platform desktop apps with Electron, Svelte, TypeScript and Esbuild.

Svelte-TypeScript-Esbuild-Electron template

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

  • Windows (portable executable)
  • Linux (AppImage)

Install

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

Developpement

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)

Build for production

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

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

Top categories

Loading Svelte Themes