svelte-app-electron Svelte Themes

Svelte App Electron

Svelte App Electron is an electron build app template using Svelte 3 as the framework.

Looking for a shareable component template? Go here --> sveltejs/component-template


svelte-app electron edition!

This is a project template for Electron using Svelte. It lives at https://github.com/lpshanley/svelte-app-electron.

To create a new project based on this template using degit:

npx degit lpshanley/svelte-app-electron svelte-app-electron
cd svelte-app-electron

Note that you will need to have Node.js installed.

Get started

Install the dependencies...

cd svelte-app-electron
npm install

...then start Rollup:

npm run dev

An Electron window will open automaticaly. You should now seel your app running. Edit a component file in src, save it, and the app should update automatically with your changes.

Building you app

To create an optimised version of the app:

npm run build

You can get the newly built app in the dist folder.

Top categories

Loading Svelte Themes