Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malipetek/svelte-nwjs-template-webpack
Svelte nwjs template with webpack
https://github.com/malipetek/svelte-nwjs-template-webpack
Last synced: about 1 month ago
JSON representation
Svelte nwjs template with webpack
- Host: GitHub
- URL: https://github.com/malipetek/svelte-nwjs-template-webpack
- Owner: malipetek
- Created: 2020-07-16T16:43:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T16:47:28.000Z (over 4 years ago)
- Last Synced: 2024-11-11T03:21:52.013Z (3 months ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svelte NW.js App with webpack
This is a project template for [Svelte](https://svelte.dev) apps with [NW.js](https://nwjs.io/). It lives at https://github.com/malipetek/svelte-nwjs-template.
To create a new project based on this template using [degit](https://github.com/Rich-Harris/degit):
```bash
npx degit malipetek/svelte-nwjs-template svelte-nwjs-app
cd svelte-nwjs-app
```*Note that you will need to have [Node.js](https://nodejs.org) and [NW.js](https://nwjs.io) 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...
```bash
cd svelte-nwjs-app
npm install
```Start development:
```bash
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.