https://github.com/dax89/electron-sveltekit
Electron and SvelteKit integration
https://github.com/dax89/electron-sveltekit
electron javascript svelte sveltekit
Last synced: over 1 year ago
JSON representation
Electron and SvelteKit integration
- Host: GitHub
- URL: https://github.com/dax89/electron-sveltekit
- Owner: Dax89
- Created: 2021-04-03T15:16:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T20:35:17.000Z (over 3 years ago)
- Last Synced: 2023-08-05T00:11:04.055Z (almost 3 years ago)
- Topics: electron, javascript, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 131 KB
- Stars: 75
- Watchers: 2
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit + Electron
A minimal project template for Electron and SvelteKit configured with adapter-static.
## Screenshot

## Installation
```
npx degit Dax89/electron-sveltekit
```
## Commands
- `npm run dev`: Runs SvelteKit in dev mode
- `npm run preview`: Runs SvelteKit in production mode
- `npm run electron`: Runs SvelteKit with electron in dev mode
- `npm run build`: Runs SvelteKit compiler
- `npm run dev:package`: Creates an Electron package (you can inspect the contents)
- `npm run package`: Creates a distributable Electron package
## Bootstrap 5 and FontAwesome support
Download the template and install the dependencies:
```
npx degit Dax89/electron-sveltekit
npm install --save bootstrap@next @fortawesome/fontawesome-free
```
Add these lines in `src/app.scss`:
```
@import "bootstrap/scss/bootstrap";
@import "@fortawesome/fontawesome-free/css/all.min.css";
```