下载安装
(淘宝镜像)
npm install -g cnpm --registry=
https://registry.npm.taobao.org
配置angular-cli
cnpm -g install @angular/cli
//配置项目依赖
cnpm install
ng serve //成功?
npm start
下载安装
(淘宝镜像)
npm install -g cnpm --registry=
https://registry.npm.taobao.org
配置angular-cli
cnpm -g install @angular/cli
//配置项目依赖
cnpm install
ng serve //成功?
npm start