Angular2-Multi-Client
This is a starter code repo for getting angular2 to work in multiple clients (web and desktop).
Installation
- Install NodeJS 5.x and NPM 3.x.
- run
npm install http-server -g
- run
npm install gulp -g
- run
npm install typings -g
- run
npm install typescript -g
- run
npm install electron-prebuilt -g
- run
npm install
- run
typings install
Launch Web
Preview
- run
npm run preview-web
dist/web
Compile to - run
npm run compile-web
Launch Desktop (via electron)
Preview
- run
npm run preview-desktop
dist/desktop
Compile to - run
npm run compile-desktop