Ant-design-pro: 🐛[BUG] yarn create umi -> ant-design-pro layouts文件夹缺失

Created on 23 Apr 2020  ·  3Comments  ·  Source: ant-design/ant-design-pro

🐛 bug 描述

📷 复现步骤

  1. yarn create umi
  2. Select the boilerplate type => ant-design-pro
  3. Be the first to experience the new umi@3 => y
  4. yarn install
  5. yarn fetch:blocks
  6. yarn start

Cannot find module 'xxx/src/layouts/BlankLayout

src缺少layouts

🏞 期望结果

💻 复现代码

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本: 3.1.1
  • create-umi 版本: 0.22.0
  • 开发环境 [e.g. mac OS]: macOS 10.15.4

🚑 其他信息

🛑 bug

Most helpful comment

+1

All 3 comments

+1

不要选 umi@3

umi@3 架构师全新的架构,使用方式有不同
文档在这里 https://umijs.org/plugins/preset-react

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wuyongdec picture wuyongdec  ·  3Comments

Yoping picture Yoping  ·  3Comments

952425340 picture 952425340  ·  3Comments

cheung1111 picture cheung1111  ·  3Comments

zhongjiewu picture zhongjiewu  ·  3Comments