Mac 搭建 Ant Design Pro
Ant Design Pro 官网:https://pro.ant.design/docs/getting-started-cn
创建项目目录
sudo mkdir -p /var/www/Ant-Design-Pro && cd /var/www/Ant-Design-Pro
安装 ant-design-pro
sudo npm install ant-design-pro-cli -g
安装脚手架
sudo pro new
? input project name: UX
? which directory do you want to init to ? (default is current directory ./):
Success to download repo https://github.com/ant-design/ant-design-pro#master to /private/var/www/Ant-Design-Pro/
……
⠦ Auto installing...added 3024 packages from 1364 contributors in 133.278s
⠹ Auto installing...
132 packages are looking for funding
run `npm fund` for details
⠸ Auto installing...npm install end
Visit https://pro.ant.design to learn more.
安装 ant-design-pro 依赖
cd UX
sudo npm ins