Home
Softono
sveltekit-electron

sveltekit-electron

Open source MIT JavaScript
296
Stars
30
Forks
2
Issues
5
Watchers
2 years
Last Commit

About sveltekit-electron

<p align="center"> <img src="static/sveltekit-electron.svg" /> </p> # Sveltekit + Electron Minimal [Sveltekit](https://github.com/sveltejs/kit#readme) + [Electron](https://www.electronjs.org/) starter template. <br /> ## Getting Started Unfortunately you must use `npm` as there are issues that arise when using `pnpm` or `yarn` | | | | ------- | ------------------------------------------- | | Clone | · `npx degit fractalhq/sveltekit-electron ` | | Install | · `npm install` | | Develop | · `npm run dev` | | Build | · `npm run build` | In order to eliminate vulnerabilities caused by electron itself, please run `npm update` and `npm audit fix`. This will apply overrides. <br /> <p align="center"> <img src="screenshot.png" /> </p> ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Svelte for VSCode](https://marketplace.visualstudio.com/items?item ...

Platforms

Web Self-hosted

Languages

JavaScript

Links

Sveltekit + Electron

Minimal Sveltekit + Electron starter template.


Getting Started

Unfortunately you must use npm as there are issues that arise when using pnpm or yarn

Clone · npx degit fractalhq/sveltekit-electron
Install · npm install
Develop · npm run dev
Build · npm run build

In order to eliminate vulnerabilities caused by electron itself, please run npm update and npm audit fix. This will apply overrides.


Recommended IDE Setup

VSCode + Svelte for VSCode

Change Build Targets

In the scripts section of package.json you can update the build:electron command and change the flags to set the targets, by default it uses -mwl which is Mac, Windows, and Linux