Skip to content

Files

Latest commit

 

History

History
19 lines (13 loc) · 300 Bytes

v-slotted-pseudo-style.md

File metadata and controls

19 lines (13 loc) · 300 Bytes

Pattern: Inconsistent slotted selector style

Issue: -

Description

Enforces consistent usage of either :slotted() or ::v-slotted() syntax for styling slot content.

Examples

<style scoped>
/* ✗ BAD */
.foo ::v-slotted(.bar) {}

/* ✓ GOOD */
.foo :slotted(.bar) {}
</style>