Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 649 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 649 Bytes

Angular2-Multi-Client

This is a starter code repo for getting angular2 to work in multiple clients (web and desktop).

Installation

  1. Install NodeJS 5.x and NPM 3.x.
  2. run npm install http-server -g
  3. run npm install gulp -g
  4. run npm install typings -g
  5. run npm install typescript -g
  6. run npm install electron-prebuilt -g
  7. run npm install
  8. run typings install

Launch Web

Preview

  1. run npm run preview-web

Compile to dist/web

  1. run npm run compile-web

Launch Desktop (via electron)

Preview

  1. run npm run preview-desktop

Compile to dist/desktop

  1. run npm run compile-desktop