Introduction:
Site for Referrence
: https://cli.angular.io/
Angular1 – based
on MVC model
angular2 – based
on component
angular4 –
performance better than angular 2
npm - node package
management
npm install -g
@angular/cli
download and install
npm – 3.10 greater
node -v
npm -v
ng -v
Creating project:
ng new <projectName>
--skip-install
cd <projectName>
ng serve – for
starting the app
localhost:4200 --by
default
-- To change port:
ng serve --host
0.0.0.0 --port 4201
No comments:
Post a Comment