1、安装 设置开发环境
npm install -g @angular/cli
2、创建新项目
ng new myApp / ng new router routing
3、安装依赖插件
cd myApp
npm install
4、启动开发服务器
ng serve --open
5、创建组件模块
ng g component myComponent