Quick starter package for Angular 2 samples.
For convenience, this repository comes with the Heroes
code from the official tutorial. To create your own code, create a new folder inside the app
folder. Then in app/main.ts
import and bootstrap your new root component.
> git clone https://github.com/awerlang/angular2-quick.git
> cd angular2-quick
> npm install
Any errors related to
node-gyp
can be ignored.
> npm start
Browse your first app at: http://localhost:3000
Make any change to your app. Your browser shall update automatically.
Note: in case you create or delete a .ts file, you may need to re-run the app.
- Official Angular 2 QuickStart: https://angular.io/docs/ts/latest/quickstart.html
- Angular 2 Seed: https://github.com/mgechev/angular2-seed
- Webpack Starter: https://github.com/angularclass/angular2-webpack-starter
MIT