electron-sveltekit-webcam Svelte Themes

Electron Sveltekit Webcam

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.


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

Top categories

Loading Svelte Themes