Table of Contents generated with DocToc
https://blog.stranianelli.com/sveltekit-and-electron-english/
This repo is a derivative of Dax89/electron-sveltekit
https://www.reddit.com/r/sveltejs/comments/mjb0oy/sveltekit_electron_and_bootstrap_5/
A minimal project template for Electron and SvelteKit configured with adapter-static.
npx degit Dax89/electron-sveltekit
npm run dev
: Runs SvelteKit in dev modenpm run start
: Runs SvelteKit in production modenpm run electron
: Runs SvelteKit with electron in dev modenpm run build
: Runs SvelteKit compilernpm run dev:package
: Creates an Electron package (you can inspect the contents)npm run package
: Creates a distributable Electron packageDownload 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";