Run First Application in Angular 2 (Angular 2 base project).


Run First Application in Angular 2 (Angular 2 base project).


è    Need to install node.js from below location.
(Install Latest version of node.js)

è    Run below command from node.js command prompt

npm install –g @angular/cli

ng new myapp

cd myapp

ng serve

Now you will see blow output.




Now run your application from localhost:4200  (mention in above command output). You may see different output base on version.



Posted in Labels: |

0 comments:

Post a Comment