使用沙盒会导致字体和icon失效,请问有解决方案吗? #2970
Unanswered
li2446723840
asked this question in
Q&A
Replies: 1 comment
-
不管是沙箱、严格沙箱、实验性的scoped,实际体验下来,建议不开启沙箱并使用规范来解决,Vue就scoped,React就CSS Modules。
|
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
-
使用沙盒会导致字体和icon失效,也会导致子系统使用/deep/的样式失效,请问有什么解决方案。我现在没有使用沙盒,使用的postcss-prefixwrap插件给每个子系统添加class前缀,但是还是有些样式无法兼容,请问有更好的方案吗?
Beta Was this translation helpful? Give feedback.
All reactions