How to create angular2 project ?

Please follow below steps for create angular2 project:

Step 1. Set up the Development Environment (Install the angular-cli globally)

npm install -g @angular/cli

Step 2. Create a new project (my-app is the project name)

ng new my-app

Step 3: Serve the application

cd my-app
ng serve –open

Write a Reply or Comment

Your email address will not be published.