svelte-nwjs-template-webpack

Svelte Nwjs Template Webpack

Svelte nwjs template with webpack

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.

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes