nw-angular-example
nw-angular-example copied to clipboard
An example of integrating Angular with NW.js
NW.js Angular CLI example
An example of running Angular with NW.js.
Getting started
- Install Volta
-
npm i
to install node modules -
npm run lint
to lint code -
npm run test:unit
to run unit tests (figure out how to launch nwjs via karma) -
npm run test:e2e
to test app via Selenium (figure out how to do this) -
npm start
to run in development mode -
npm run dev:ng
to run only Angular in a browser (addif (window.nw) {}
conditionals to skip desktop specific code) -
npm run build
to build desktop app
Alternatives
- NW.js + Angular-CLI + Better-SQLite3 - A fork of this repo with an example of SQLite added.
- NW.js + Angular 1.2 - From 2014
- NW.js + Angular 1.4 - From 2015