Component styles MUST use the scoped attribute.
Deep selectors MUST use the :deep() syntax.
Example:
<style scoped>
.product-card {
display: flex;
}
.product-card :deep(.child-component) {
color: red;
}
</style>Verze:
31. 12. 2025
Zodpovědná osoba:
Dominik Šlechta
Component styles MUST use the scoped attribute. Deep selectors MUST use the :deep() syntax.
Component styles MUST use the scoped attribute.
Deep selectors MUST use the :deep() syntax.
<style scoped>
.product-card {
display: flex;
}
.product-card :deep(.child-component) {
color: red;
}
</style>