Quickly build angular scaffolding projects
First make sure that the node and npm environment are globally installed on the computer
npm -v
Open the terminal/or command window and install the global angular CLI
cnpm install -g @angular/cli
Create a new project
of the new project-name
Start the development server
Enter the root directory where the project is located
cd my-app
Installation dependencies
cnpm install
Start service
of serve --open
or
of serve -o