一、要求vue-cli版本3.0以上,首先升级至3.0以上,然后vue create antd-demo即可
二、项目发布,使用npm run build打包,router去掉history模式,自建vue.config.js文件,设置如下规则:
ant design vue项目实战
原文:https://www.cnblogs.com/xiaoxiao529/p/14591449.html