Super simple Angular app with 1 module and 2 routes
npm install ariba-testSuper simple Angular app with 1 module and 2 routes
git clone https://github.com/johnpapa/angular-tour-of-heroes.git toh
cd toh
npm i
`$3
Runs the TypeScript compiler and launches the app
`
npm start
`$3
Runs the Angular AoT compiler, rollup, uglify for an optimized bundle, then launches the app
`
npm run start-aot
`$3
Runs AoT plus gzips and launches the app
`
gulp copy-aot-gzip
npm run aot
npm run rollup
http-server
`Notes:
- Use your favorite server in place of
http-server
- This could be scripted, obviously
- lite-server` does not launch gzipped files by default.