Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/braebo/sveltekit-electron
Minimal Sveltekit + Electron starter template.
https://github.com/braebo/sveltekit-electron
electron starter-template svelte sveltekit
Last synced: 2 days ago
JSON representation
Minimal Sveltekit + Electron starter template.
- Host: GitHub
- URL: https://github.com/braebo/sveltekit-electron
- Owner: braebo
- License: mit
- Created: 2021-03-21T18:41:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T07:44:06.000Z (over 1 year ago)
- Last Synced: 2024-12-16T15:43:47.603Z (9 days ago)
- Topics: electron, starter-template, svelte, sveltekit
- Language: JavaScript
- Homepage:
- Size: 559 KB
- Stars: 283
- Watchers: 7
- Forks: 30
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sveltekit + Electron
Minimal [Sveltekit](https://github.com/sveltejs/kit#readme) + [Electron](https://www.electronjs.org/) 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](https://code.visualstudio.com/) + [Svelte for VSCode](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-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