Electron-Sveltekit-Auth0-Prisma Svelte Themes

Electron Sveltekit Auth0 Prisma

Electron-Sveltekit-Auth0-Prisma

SvelteKit + Electron

A minimal project template for Electron and SvelteKit configured with adapter-static.

Screenshot

Forked from

Installation

git clone https://github.com/lcharleslaing/electron-sveltekit-base.git <your project name>

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
  • npx prisma migrate dev: Creates a database migration (This is setup with SQLite)
  • npx prisma studio: Opens in the browser, a UI for interacting with your database

Bootstrap 5 and FontAwesome support

Download the template and install the dependencies:

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";

Top categories

Loading Svelte Themes