安装:
直接 clone git 仓库
$ git clone --depth=1 https://github.com/ant-design/ant-design-pro.git my-project
$ cd my-project
使用命令行工具
你可以使用集成化的命令行工具 ant-design-pro-cli。
$ npm install ant-design-pro-cli -g
$ mkdir my-project && cd my-project
$ pro new # 安装脚手架
目录结构
本地开发-安装依赖
$ npm install
临时使用淘宝镜像 安装依赖
npm --registry
https://registry.npm.taobao.org install express
npm --registry

长期使用
npm config set registry
https://registry.npm.taobao.org
npm config set registry

安装完成
启动
你的项目目录 Shift + 右键 ---> 选择 “在此处打开 Powershell 窗口” $ npm start
看到上图成功!