Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

KraXen72/svelte-electron-quick-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OUTDATED & no longer recommended

This template is outdated and superseeded by many others, such as electron-vite or setups using vite-plugin-electron-x.

svelte electron quick start

Get up and running with 💪 Svelte & ⚡ Electron.
opinionated svelte & electron boilerplate

Usage

  • clone this repo & cd
  • npm install
  • npm run boot to run dev enviroment
  • to bundle and build app, check package.json for build scripts / use electron builder

svelte electron

Structure

  • src/index.js - Main electron process.
  • src/svelte.js - Svelte app entrypoint.
  • src/components - Svelte components
  • src/preload.js - Electron preload script
  • public/global.css - Global css file
  • public/build - bundled js and css files by svelte

Uses:

Credits