jaswanth03
10/26/2018 - 6:23 AM

Creating a new angular project

creating a new angular project

1) open your command prompt as administrator and run this command to make cli available inside the root folders also.
    npm install -g @angular/cli
    
2) open a folder where you want to create new angular project and run the below command
    ng new my-project(your project name dont use underscore user hiphen).
  
3) then open the project in the webstorm and in the terminal below run the below command
    ng serve

4) open browser and press localhost and your project intro screen will be shown here.   
    http://localhost:4200/