Sunday, June 18, 2017

Angular 4.2.3 getting started

https://angular.io/guide/quickstart

How to install and use CLI : https://github.com/angular/angular-cli/blob/master/README.md

#make sure you have latest version of node and npm
node -v
npm -v

#clean up previous angular-cli installations
npm uninstall -g angular-cli
npm uninstall --save-dev angular-cli
npm uninstall -g @angular/cli
npm cache clean

#install latest angular-cli
npm install -g @angular/cli@latest
ng new my-app
cd my-app
ng serve --open



Tour of Heroes https://angular.io/tutorial



No comments: