Skip to content

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

License

Notifications You must be signed in to change notification settings

lpshanley/svelte-app-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published