Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elegantweb/nwjs-vue
A clean NW.js & Vue.js quick start boilerplate.
https://github.com/elegantweb/nwjs-vue
Last synced: about 2 months ago
JSON representation
A clean NW.js & Vue.js quick start boilerplate.
- Host: GitHub
- URL: https://github.com/elegantweb/nwjs-vue
- Owner: elegantweb
- Created: 2017-08-31T19:32:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T17:04:38.000Z (about 2 years ago)
- Last Synced: 2024-02-14T20:36:27.361Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 90
- Watchers: 8
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nwjs - NW.js + Vue boilerplate
README
# nwjs-vue
> A clean NW.js & Vue.js quick start boilerplate.
## Installation
Install boilerplate:
``` bash
npm install -g @vue/cli @vue/cli-init
vue init elegantweb/nwjs-vue
```Install dependencies:
``` bash
cd
npm install
```## Getting Started
### Development
Specify target NW.js version in `package.json`:
You can find available options [here](https://github.com/evshiron/nwjs-builder-phoenix).
```
{
[...]
"build": {
[...]
"nwVersion": "0.40.1",
[...]
},
[...]
}
```Run NW.js application for development:
``` bash
npm run dev
```### Production
Specify target platforms and architectures in `package.json`:
You can find available options [here](https://github.com/evshiron/nwjs-builder-phoenix).
```
{
[...]
"build": {
[...]
"nwPlatforms": ["win"],
"nwArchs": ["x64"],
[...]
},
[...]
}
```Build NW.js application for production:
``` bash
npm run build
```## Alternatives
* [NW Vue 3 Boilerplate](https://github.com/nwutils/nw-vue3-boilerplate) - NW.js + Vue 3 + Vite + Vitest + Vue-DevTools + Pinia
* [nw-vue-cli-example](https://github.com/nwutils/nw-vue-cli-example) - Uses Vue-CLI, has Vue 2 and Vue 3 branches.
* [vue-desktop-basic](https://github.com/TheJaredWilcurt/vue-desktop-basic) - Does not use a build system at all, all `.vue` files run directly in the browser context