I'm currently attempting to bind classes to an element in the following way:
v-bind:class="{
`bg-${activeTheme.name}-500 text-white`: styleFilter.active,
`bg-${activeTheme.name}-400 text-black`: !styleFilter.active,
}"
However, I am receiving the following errors:
Parsing error: Line 2: Unexpected token and 'v-bind' directives require an attribute value (vue/valid-v-bind).
What have I done wrong here?