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

Latest commit

 

History

History
33 lines (26 loc) · 1.51 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.51 KB

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