Vite
Cxiaomu
一枚小小的前端开发
展开
-
Vue3+scss 组件内部使用全局样式不生效
全局配置了scss样式,部分组件内部使用全局样式不生效遇到这个问题时,发现在views组件中使用的样式能生效,但是子组件内使用的就不能生效,通过控制台查看,class绑定上了,但是对应的css样式没找到。原创 2023-08-01 17:20:31 · 2170 阅读 · 0 评论 -
component with `markRaw` or using `shallowRef` instead of `ref`.
Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`. Component that was made reactive:原创 2023-08-01 17:02:08 · 566 阅读 · 1 评论