Tag Archives: en

[Solved] scss File Use the Depth Selector /deep/ Error: Expected selector

When using the latest version of hbuilder x editor to open the applet project built in the old version 3.2.3, the package/deep/error will occur. The previous question is vue3.0, then use vue2.0 does not report an error, and the latest version of hbuilder x editor seems to specify vite engineering by default. I’m tired of this

.mait-delegate{
    /deep/.uni-date__icon-clear {
        display: none !important;
    }
}

Change to

.mait-delegate{
    ::v-deep .uni-date__icon-clear {
        display: none !important;
    }
}