Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 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 (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T07:16:08.000Z (4 months ago)
- Last Synced: 2024-09-07T08:32:25.791Z (4 months ago)
- Topics: angular, boilerplate, cross-platform, desktop-app, nwjs, xpda
- Language: TypeScript
- Homepage: https://nwutils.io
- Size: 2.25 MB
- Stars: 27
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# NW.js Angular CLI example
An example of running Angular with NW.js.
![A Screenshot of the default app running on Windows](screenshot.png)
## 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