nwutils / nw-angular-example

An example of integrating Angular with NW.js

Home Page:https://nwutils.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NW.js Angular CLI example

An example of running Angular with NW.js.

A Screenshot of the default app running on Windows

Getting started

  1. Install Volta
  2. npm i to install node modules
  3. npm run lint to lint code
  4. npm run test:unit to run unit tests (figure out how to launch nwjs via karma)
  5. npm run test:e2eto test app via Selenium (figure out how to do this)
  6. npm start to run in development mode
  7. npm run dev:ng to run only Angular in a browser (add if (window.nw) {} conditionals to skip desktop specific code)
  8. npm run build to build desktop app

Alternatives

About

An example of integrating Angular with NW.js

https://nwutils.io

License:MIT License


Languages

Language:TypeScript 50.8%Language:HTML 23.5%Language:JavaScript 19.7%Language:CSS 6.0%