Closed NieShiyi closed 1 year ago
根据umi4官方文档安装带有antd-design-pro的项目, 界面antd-design-pro布局和样式异常 参照文档:https://umijs.org/docs/tutorials/getting-started
https://github.com/NieShiyi/umi4-antdpro-style (readme文档里有具体的问题描述)
Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库
Steps to reproduce the behavior: 1. 2. 直接启动项目 pnpm start Expected behavior 1. 2. 期望antd-design-pro的样式和布局是正常显示
pnpm dlx create-umi@latest
在 #10913 跟进
主要是pnpm v8 导致安装依赖的版本有问题,发现在umi的配置文件中设置theme主题样式也有问题
目前在 #10913 给出了几种本地可以先自己解决的方法,同时也在积极应对 pnpm v8 的问题,这个 issue 先关了。
What happens?
根据umi4官方文档安装带有antd-design-pro的项目, 界面antd-design-pro布局和样式异常 参照文档:https://umijs.org/docs/tutorials/getting-started
Mini Showcase Repository(REQUIRED)
https://github.com/NieShiyi/umi4-antdpro-style (readme文档里有具体的问题描述)
How To Reproduce
Steps to reproduce the behavior: 1. 2. 直接启动项目 pnpm start Expected behavior 1. 2. 期望antd-design-pro的样式和布局是正常显示
Context
pnpm dlx create-umi@latest