首先根据官方文档把Ant Design Pro框架下好
git clone --depth=1 https://github.com/vueComponent/ant-design-vue-pro.git my-project
cd my-project
yarn install
yarn run serve
添加路由和菜单 在router.config.js中配置就可以啦,这边就不自己写页面了,随便写一写效果出来就ok
代码展示(src/config/router.config.js)