Sunday 11 June 2017

Angular 4 Introduction and Install

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

Extract error records while inserting into db table using JDBCIO apache beam in java

 I was inserting data into postgres db using apache beam pipeline. it works perfectly with JdbcIO write of apache beam library. But, now, i ...