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

Sveltron helps you build beautiful apps using Electron and Svelte.

Notifications You must be signed in to change notification settings

0xPiyush/Sveltron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



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