Prerequisites:
To install the Node.js and Angular CLI please click in the below mentioned link.
http://angularworldz.blogspot.in/2018/01/advantages-of-using-angular-cli.html
Once Node.js and Angular CLI Installed please follow the below mentioned steps to create an angular 5 project.
Generating and Serving Angular 5 Project:
1. Open Node.js command prompt as an administrator.
2. Install Angular CLI latest version ( if not installed ) using the below mentioned command.
npm install -g @angular/cli@latest
3. Make directory to create a Angular Project
mkdir Angular5Practice
4. Change the directory path to Angular5Practice
5. To see the list of available commands in the Angular CLI use the below mentioned command.
ng help
6. To generate and serve an angular project using the below mentioned command.
a) ng new Angular5Demo
Change the directory to Angular5Demo using the below mentioned command.
b) cd Angular5Demo
Serve and open the project using the below mentioned command.
c) ng serve --o
To install the Node.js and Angular CLI please click in the below mentioned link.
http://angularworldz.blogspot.in/2018/01/advantages-of-using-angular-cli.html
Once Node.js and Angular CLI Installed please follow the below mentioned steps to create an angular 5 project.
Generating and Serving Angular 5 Project:
1. Open Node.js command prompt as an administrator.
2. Install Angular CLI latest version ( if not installed ) using the below mentioned command.
npm install -g @angular/cli@latest
3. Make directory to create a Angular Project
mkdir Angular5Practice
4. Change the directory path to Angular5Practice
5. To see the list of available commands in the Angular CLI use the below mentioned command.
ng help
6. To generate and serve an angular project using the below mentioned command.
a) ng new Angular5Demo
Change the directory to Angular5Demo using the below mentioned command.
b) cd Angular5Demo
Serve and open the project using the below mentioned command.
c) ng serve --o
Comments
Post a Comment