Is there a way to assign a dynamic class in Vue.js using something similar to the following code?
<strong :class=`color-${category.level}`>{{ category.name }}</strong>
The above HTML is part of a loop, but I am having issues accessing category.value
within that loop. Any suggestions on how to make it work?