Ant Design Pro 6
准备
依赖
- node
- git
安装
npm i @ant-design/pro-cli -g
npm install yarn tyarn -g # 不用 tyarn 很容易依赖安装失败 使用
创建应用
pro create my-app
cd my-app
tyarn
yarn start白屏问题:删除路由 user/404(在 config/routes.ts 文件里)
国际化
src/locales
npm i @ant-design/pro-cli -g
npm install yarn tyarn -g # 不用 tyarn 很容易依赖安装失败 pro create my-app
cd my-app
tyarn
yarn start白屏问题:删除路由 user/404(在 config/routes.ts 文件里)
src/locales