malipetek / svelte-nwjs-template-webpack

Svelte nwjs template with webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte NW.js App with webpack

This is a project template for Svelte apps with NW.js. It lives at https://github.com/malipetek/svelte-nwjs-template.

To create a new project based on this template using degit:

npx degit malipetek/svelte-nwjs-template svelte-nwjs-app
cd svelte-nwjs-app

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

You also need to have nw in your systems path. Which means when you type nw ./ in your terminal when you are in your project folder, it should be running your project.

Get started

Install the dependencies...

cd svelte-nwjs-app
npm install

Start development:

npm run dev

You should see your NWJS window opening and your app running inside it. Edit a component file in src, save it, and reload the page to see your changes.

About

Svelte nwjs template with webpack


Languages

Language:JavaScript 44.8%Language:HTML 30.4%Language:CSS 24.9%