How do I use /deep/ or >>> in Vue.js?

后端 未结 5 983
抹茶落季
抹茶落季 2020-11-28 06:25

So, I\'ve read here that in Vue.js, you can use /deep/ or >>> in a selector in order to create style rules that apply to elements inside o

5条回答
  •  情深已故
    2020-11-28 06:50

    Though it is not found in the Documentation, the answer is that the component you are attempting to reach cannot be the root component. Wrap your single component in a

    and it should work using ::v-deep on scoped scss as others have explained.

提交回复
热议问题