Skip to content
/ sveltekit-electron Public template

A starter template to use sveltekit with electron

Notifications You must be signed in to change notification settings

ocluf/sveltekit-electron

Repository files navigation

sveltekit-electron

An Electron application with Sveltekit, TypeScript, and tailwindcss v4

Notes

  • Uses svelte static adapter to generate static HTML/JS files
  • Uses electron-serve to serve the static web assets as sveltekit does not play nice with file:// urls
  • uses ESM imports where possible

Project Setup

Install

$ pnpm install

Development

$ pnpm dev

Build

Note: only been tested on Macos without notarization

# For windows
$ pnpm build:win

# For macOS
$ pnpm build:mac

# For Linux
$ pnpm build:linux

About

A starter template to use sveltekit with electron

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published