1. 安装cnpm:
npm install -g cnpm –registry=https://registry.npm.taobao.org
2. 安装angular/cli:
cnpm install -g @angular/cli
3. 创建一个示例程序
ng new my-app –skip-install
cd my-app
cnpm install
ng serve
1. 安装cnpm:
npm install -g cnpm –registry=https://registry.npm.taobao.org
2. 安装angular/cli:
cnpm install -g @angular/cli
3. 创建一个示例程序
ng new my-app –skip-install
cd my-app
cnpm install
ng serve
该资源仅限VIP专享下载