Follow the below steps to create a angular 2 project and publish.
Step 1: Install Node JS
Step 2: Execute the below command in command prompt
> npm install -g angular-cli
Step 3: Execute the below command
> ng new angular2-fundamentals
Step 4: Go to the project folder and exeute serve command
> cd angular2-fundamentals
> ng serve
Step 5: The above all steps executed successfully, open the Web Browser and execute the path.
http://localhost:4200
Step 1: Install Node JS
Step 2: Execute the below command in command prompt
> npm install -g angular-cli
Step 3: Execute the below command
> ng new angular2-fundamentals
Step 4: Go to the project folder and exeute serve command
> cd angular2-fundamentals
> ng serve
Step 5: The above all steps executed successfully, open the Web Browser and execute the path.
http://localhost:4200
Comments
Post a Comment