1. 安装Node.js
安装过程(略)。查看版本:node -v;npm -v。
npm指定国内数据源,安装更快。
npm config set registry https://registry.npm.taobao.org
2. 安装angular
npm install -g @angular/cli
3.安装ng-zorro组件库
npm new appname
cd appname
npm install ng-zorro-antd --save
npm add ng-zorro-antd
本文详细介绍了如何安装Node.js并检查其版本,如何配置npm使用国内源以加速安装速度,以及如何使用Angular CLI和Ng-Zorro-antd组件库创建和配置Angular项目。
1240

被折叠的 条评论
为什么被折叠?



