https://next.umijs.org/
https://github.com/umijs/umi-next
umi4创建项目
https://umijs.org/docs/tutorials/getting-started
mkdir umi-project
cd umi-project
pnpm dlx create-umi@latest
# ✔ Pick Umi App Template › Ant Design Pro
# ✔ Pick Npm Client › pnpm
# ✔ Pick Npm Registry › taobao
# 启动项目,localhost:8000
pnpm dev
# 构建项目,默认会生成到 ./dist 目录下
umi build
- 选择 pnpm + taobao 源,速度提升明显
- 安装成功后会自动执行 umi setup 做一些文件预处理工作
pnpm dev 如果没有构建好,会出现