Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anchengjian/vue-nw-seed

A seed project with vue and nwjs
https://github.com/anchengjian/vue-nw-seed

nw nwjs nwjs-application vue webpack2

Last synced: about 1 month ago
JSON representation

A seed project with vue and nwjs

Awesome Lists containing this project

README

        

# vue-nw-seed

> A seed project with Vue.js and Nw.js

[english](/README.md) | [中文](/docs/README_ZH.md)

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# only build nw
npm run build --onlyNW

# default is build `setup.exe` in windows
npm run build --noSetup
```

For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

## Demo
### `npm run dev`
![dev](/docs/assets/dev.gif)

### `npm run build`
![build](/docs/assets/build.gif)

### `for upgrade`
![upgrade](/docs/assets/upgrade.gif)

### Build a beautiful setup for windows
This feature in [vue-nw-seed/origin/win-beautiful-setup](https://github.com/anchengjian/vue-nw-seed/tree/win-beautiful-setup) branch.
![win-setup](/docs/assets/win-setup.gif)

## FAQ
### Why [email protected]
Not all of NW.js support `XP`, because from the beginning of `Chromium50` does not support the XP, so if your client want to support XP, the best of version is `0.14.7`. See NW.js's blog: [NW.js v0.14.7 (LTS) Released](https://nwjs.io/blog/v0.14.7/)