0.1.0 • Published 9 years ago
angular2-tour-of-heroes v0.1.0
Getting Started
Super simple Angular 2 app with 1 module and 2 routes
Get the Code
git clone https://github.com/johnpapa/angular2-tour-of-heroes.git toh
cd toh
npm iJust in Time (JiT) Compilation
Runs the TypeScript compiler and launches the app
npm startAhead of Time (AoT) Compilation
Runs the Angular AoT compiler, rollup, uglify for an optimized bundle, then launches the app
npm run start-aotAoT + gzip
Runs AoT plus gzips and launches the app
gulp copy-aot-gzip
npm run aot
npm run rollup
http-serverNotes:
- Use your favorite server in place of
http-server - This could be scripted, obviously
lite-serverdoes not launch gzipped files by default.
0.1.0
9 years ago