I know that we can differentiate peer/peer-checked using names like peer/{name}
(doc). I want to use a variable as a name, something like :class="peer/${VARIABLE}
" but it seems to be not working. Is there a proper way to use a variable?
Asked
Active
Viewed 280 times
0

user16589580
- 103
- 8
-
Does this answer your question? [Dynamically build classnames in TailwindCss](https://stackoverflow.com/questions/69687530/dynamically-build-classnames-in-tailwindcss) – Wongjn Apr 17 '23 at 16:08