hieutdo / angular2-tour-of-heroes

Source code for the tutorial posted at https://angular.io/docs/ts/latest/tutorial/toh-pt2.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is the source code for the tutorial on getting started in using Angular2 (https://angular.io/docs/ts/latest/tutorial/toh-pt2.html)

INSTALLATION

npm install

This will install two runtime packages (angular2 and system.js) and two development tools (typescript and browser-sync)

We use typscript to transpile .ts to .js and browser-sync for live reload.

USAGE

Run these two commands below in separate terminal windows:

  • npm run tsc transpile .ts files every time we make changes to them

  • npm start start browser-sync using current directory as root and watch for changes in .js files

About

Source code for the tutorial posted at https://angular.io/docs/ts/latest/tutorial/toh-pt2.html


Languages

Language:TypeScript 83.8%Language:HTML 16.2%