No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
gulpfile.ts
package.json
tsconfig.json
typings.json

README.md

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