安裝。如果clone慢的話可以換源
git clone --depth=1 https://github.com/vueComponent/ant-design-vue-pro.git my-project
cd my-project
本地開(kāi)發(fā)
yarn install
yarn run serve
yarn install遇到的問(wèn)題:node版本不匹配
The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "17.9.0"
解決辦法:使用如下命令忽略錯(cuò)誤再執(zhí)行命令
yarn config set ignore-engines true

image.png