Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.08 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.08 KB

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.