v4 src/layouts 目录 没了 ??? 造成 npm run fetch:blocks 后config.ts 配置错误,最终导致无法启动项目

一样的问题,还以为自己操作错了,搞了3次~~~浪费时间
I found that src/ doesn't have layout/ dir if select Be the first to experience the new umi@3 when
generate from boilerplate. @xiaohuoni
Also, there isn't a branch called umi@3.
Update:
When select Be the first to experience the new umi@3 , create-umi will clone branch v5. But, branch v5 doesn't hava layout.

https://github.com/ant-design/ant-design-pro/tree/master/src/layouts 是有的?
Not master branch.
@chenshuai2144 感觉是脚手架提供太早了。这边还没同步完成。v5还没发布,脚手架就下载了v5的代码。
@chenshuai2144 回滚吧,搞个 next 版本。Pro 的兼容性一定要保障好。
PS:之前的 umi2 区块迁移就没考虑好,老用户已经没法用了。
直接拉主分支代码,初始化项目就好。
我默认选的都是 false,还有一堆人用,我直接删掉吧
删除 umi@3 的选项,需要的人可以
yarn create umi --branch v5
等我们都准备好了再上。
Most helpful comment
删除 umi@3 的选项,需要的人可以
yarn create umi --branch v5