arvinxx / dumi-theme-antd-style

dumi-theme for antd-style site
https://dumi-theme-antd-style.arvinx.com
MIT License
75 stars 37 forks source link

🐛[BUG] dumi 2.3.x && Redux Devtools 已经不能正常运行了 切换路由会白屏 #121

Open eternallycyf opened 1 month ago

eternallycyf commented 1 month ago

🐛 bug 描述

dumi 2.3.x 已经不能正常运行了 切换路由会白屏

📷 复现步骤

直接用 dumi-theme-antd-style 仓库代码 git clone xxx && pnpm i

2.安装了 chrome Redux Devtools

🏞 期望结果

切换路由后 不白屏

💻 复现代码

就用 dumi-theme-antd-style 代码即可

© 版本信息

🚑 其他信息

录屏2024-05-11 14 30 33

使用dumi-antd-style 用 vercel 部署的 会出现白屏 && 开启了chrome Redux Devtools

截屏2024-05-11 15 08 01
Evey-huang commented 1 month ago

我也遇到了这个问题,请问你解决了吗

eternallycyf commented 1 month ago

我也遇到了这个问题,请问你解决了吗

先锁定版本把 @Evey-huang

"devDependencies":{
    "dumi": "~2.2.x",
},
 "resolutions": {
    "dumi": "~2.2.x"
},
Evey-huang commented 1 month ago

我也遇到了这个问题,请问你解决了吗

先锁定版本把 @Evey-huang

"devDependencies":{
    "dumi": "~2.2.x",
},
 "resolutions": {
    "dumi": "~2.2.x"
},

这个方法有用!谢谢你