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

Latest commit

 

History

History
55 lines (43 loc) · 1.35 KB

README.md

File metadata and controls

55 lines (43 loc) · 1.35 KB


Sveltron

A template that helps you use Svelte in Electron Apps.

electron svelte


Quick Start ⛳

To get started clone this repository or click the "Use this template" button.

git clone https://github.com/0xPiyush/Sveltron.git <my-app-name>

cd <my-app-name>

Next, install dependencies:

npm install

Then run the following command to start the app in development mode with hot reload:

npm run dev

To package your app run:

npm run package:linux
        or
npm run package:win
        or
npm run package:mac

To change the app name and other properties, modify the package.json file just as you would in a normal Electron app.


The Svelte entry point is in ./src/App.svelte
All the frontend code is in ./public and ./src directories


The Electron entry point is in:
./electron/main.js

Screenshots 📸

Sveltron