angular2-multi-client
angular2-multi-client copied to clipboard
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
Compile to dist/web
- run
npm run compile-web
Launch Desktop (via electron)
Preview
- run
npm run preview-desktop
Compile to dist/desktop
- run
npm run compile-desktop