1. 安装
官方地址:https://pro.ant.design/zh-CN/docs/getting-started
1.1 Mac系统
1.1.1 安装yarn
- 安装yarn - brew install yarn
- 查看版本 - brew -v
1.1.2 安装node
// 安装node
brew install node
// 关联
brew unlink node && brew link node
// 查看版本
node -v1.1.3 安装依赖
安装其他包1.1.4 启动
 npm run start出现问题
1. Pro 命令失败

- 打开 配置文件
vim ~/.bash_profile- 添加路径
# ant-design-pro
export PATH="/Users/leovany/.npm-global/bin:$PATH"- 生效
source ~/.bash_profile2. 开启Umi UI
npm install --save-dev @umijs/preset-ui3. 启动
 npm run start