Skip to content

nwutils/nw-angular-example

Repository files navigation

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