如何修改umi中的ConfigProvider的prefixCls属性 #6472
Unanswered
Ykontheway
asked this question in
Q&A
Replies: 1 comment
-
最后解决办法是,关闭了官方的plugin-locale插件,然后自己写了一个新的插件调用,在其中注入prefixCls属性。问题解决 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
期望修改ConfigProvider的prefixCls,来解决qinkun主应用和微应用的样式隔离问题,在umi的文档和源码中,我没有找到入口,不能直接给ConfigProvider添加属性,期望能提供一个方案。
文件位于生成后的src/.umi/plugin-locale/locale.tsx, 46行
另外,direction 拼错了:)
Beta Was this translation helpful? Give feedback.
All reactions