Replies: 2 comments
-
删了unocss |
Beta Was this translation helpful? Give feedback.
0 replies
-
// In App.vue
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
我在初始化vitesse项目后尝试引入naive-ui,引入后后我首先创建了一个基础的n-button组件,发现button的background-color被重置为transparent使得naive-ui的button样式没有生效,如图:



我使用naive-ui文档中提供的方法解决了样式覆盖这一问题:
随后我发现unocss(默认预设)提供的的"m-3"失效了,注释掉上图的三行代码后"m-3"又恢复正常了,请问我该怎么做?
Beta Was this translation helpful? Give feedback.
All reactions