I just getting started with some Anuglar web development, so mostly for my own benefit, this will be an ongoing collection of notes, urls ect. I'll update as I get deeper into creating Angular web apps.
CLI Overview and Command Reference
In short:
# setup
npm install @angular/cli --global
ng --version
# bootstrap
ng new demoApp --minimal --routing --style=less --dry-run
cd demoApp
# build
ng build --prod
cd dist/demoAppp
# serve
npm install serve --global
serve
# cleanup
npm install rimraf --global
rimraf demoApp
Install git: