jpedrosa / electron-svelte-combo

Small template project combining Electron and Svelte.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Electron and Svelte combo.

The aim of this project is to serve as a small template combining both Electron and Svelte.

Purpose

Svelte is often focused on the UI side of matters and some of its examples out there don't have enough input from external APIs. I.e. Svelte examples often focus on the output side of programs. Electron comes in by providing a lot of input APIs to hook Svelte with.

Also, it's not always obvious how to plug diverse projects into a building block. So the more examples we have of it the more chance for us to learn how it all fits together.

Reference

This project has mostly joined the ideas of the basic Electron and Svelte projects out there:

Installation

Clone the repository. Then run "npm install". Then the npm scripts in the package.json file can be run like so: "npm run dev"

Electron can be started by running "electron static/main_electron.js" directly, but the "npm run dev" command will start electron in development mode already.

LICENSE - MIT

About

Small template project combining Electron and Svelte.

License:MIT License


Languages

Language:JavaScript 63.0%Language:HTML 32.1%Language:CSS 4.9%