GithubHelp home page GithubHelp logo

sveltron's Introduction

Sveltron boilerplate

This is a boilerplate for Svelte using ElectronJS, with SASS as preprocessor.

To create a new project based on this boilerplate:

git clone https://github.com/Blade67/Svelectron

Note that you will need to have Node.js installed.

Get started

Install the dependencies...

cd Svelectron
npm install

...then start everything with Rollup:

npm run dev

Your app should now be up and running! Edit a component file in src and your app in the main.js, save it, and reload (CTRL+R) the app to see your changes.

SASS/SCSS

If you'd rather use SASS instead of SCSS, change <style type="text/scss"> to <style type="text/sass"> in your src/App.svelte, or remove the type tag entirely, to use vanilla CSS.

Note you might need to add "svelte.language-server.runtime": "file:///path/to/your/node.exe" to your VS Code preferences if you're using the Svelte extension, and want propper syntax highlighting.

Compile app

The app is designed for quick prototyping using Svelte, thus building the app is up to you.

Useful resources

Electron [X]
Svelte [X]
Node-Sass [X]

Socal media

Twitter [X]
Reddit [X]
Discord Blade#6667

sveltron's People

Contributors

blade67 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.