A NW.js & Vue.js quick start boilerplate.
Install boilerplate:
npm install -g @vue/cli @vue/cli-init
vue init elegantweb/nwjs-vue <project name>
Install dependencies:
cd <project name>
npm install
Specify target NW.js version in package.json
:
You can find available options here.
{
[...]
"build": {
[...]
"nwVersion": "0.40.1",
[...]
},
[...]
}
Run NW.js application for development:
npm run dev
Specify target platforms and architectures in package.json
:
You can find available options here.
{
[...]
"build": {
[...]
"nwPlatforms": ["win"],
"nwArchs": ["x64"],
[...]
},
[...]
}
Build NW.js application for production:
npm run build