1 安装 脚手架

 npm install -g @angular/cli

Angular 项目搭建

 

 

2 创建项目

 ng new angulardemo

 

3 运行项目

 ng server --open

 

相关文章: