Skip to content

v2.12.0 - Rename Scoped V-Bind Styles

Latest
Compare
Choose a tag to compare
@TheJaredWilcurt TheJaredWilcurt released this 12 Jun 18:18
· 2 commits to main since this release
428f6a5

Features:

  • If you enable inlined styles of your scoped CSS when using v-bind, you can now replace the randomized ID with the word "scoped".
- <div style="--279c5a3b-color: #FF0000;">
+ <div style="--scoped-color: #FF0000;">
    <span class="example">
      Text
    </span>
  </div>

To learn more about this advanced feature, read this section of the Docs site:

Diff: