vue penetration of scoped
Question: In the page, you need a third-party plug-in style, but also do not want to cancel scoped, prevent pollution Style
Methods: >>>
Code:
#tab >>> .ivu-table-stripe-odd td{ background-color: #ecf3fd!important; border-bottom: 0; }
tab for the need to penetrate the component id
note:
In other sass >>> parser may not be recognized, the need to use / deep / instead of (/ deep / alias of >>>)
Code:
#tab /deep/ .ivu-table-stripe-odd td{ background-color: #ecf3fd!important; border-bottom: 0; }
Research is not easy, please indicate the source ~~~~~~