https://github.com/nwutils/nw-angular-example
An example of integrating Angular with NW.js
https://github.com/nwutils/nw-angular-example
angular boilerplate cross-platform desktop-app nwjs xpda
Last synced: 2 months ago
JSON representation
An example of integrating Angular with NW.js
- Host: GitHub
- URL: https://github.com/nwutils/nw-angular-example
- Owner: nwutils
- License: mit
- Created: 2019-06-19T00:51:54.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T05:31:35.000Z (4 months ago)
- Last Synced: 2025-03-23T21:45:59.749Z (3 months ago)
- Topics: angular, boilerplate, cross-platform, desktop-app, nwjs, xpda
- Language: TypeScript
- Homepage: https://nwutils.io
- Size: 1.98 MB
- Stars: 30
- Watchers: 3
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- trackawesomelist - nw-angular-example (⭐30) - An example of integrating Angular with NW\.js. (Recently Updated / [Mar 21, 2025](/content/2025/03/21/README.md))
- awesome-angular - nw-angular-example - An example of integrating Angular with NW.js. (Table of contents / Angular)
- fucking-awesome-angular - nw-angular-example - An example of integrating Angular with NW.js. (Table of contents / Angular)
README
# NW.js Angular CLI example
An example of running Angular with NW.js.

## Getting started
1. Install [Volta](https://volta.sh/)
1. `npm i` to install node modules
1. `npm run lint` to lint code
1. `npm run test:unit` to run unit tests (figure out how to launch nwjs via karma)
1. `npm run test:e2e`to test app via Selenium (figure out how to do this)
1. `npm start` to run in development mode
1. `npm run dev:ng` to run only Angular in a browser (add `if (window.nw) {}` conditionals to skip desktop specific code)
1. `npm run build` to build desktop app## Alternatives
* [NW.js + Angular-CLI + Better-SQLite3](https://github.com/vatsalkgor/nw-better-sqlite3-boilerplate) - A fork of this repo with an example of SQLite added.
* [NW.js + Angular 1.2](https://github.com/jgrenon/angular-desktop-app) - From 2014
* [NW.js + Angular 1.4](https://github.com/vhpoet/nwjs-boilerplate) - From 2015