Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
therin
Posts
Comments
N
Nuxt
•
Created by therin on 7/7/2024 in
#❓・help
Dynamically binding Tailwind classes to v-for elements
okay it probably needed a different approach, so i did this and made the respective child styles in the stylesheet:
[{
...
tw:
'green-card'
,
...
}]
[{
...
tw:
'green-card'
,
...
}]
<
dl
:class
=
"i.tw"
>
<
dl
:class
=
"i.tw"
>
3 replies
N
Nuxt
•
Created by therin on 7/7/2024 in
#❓・help
Dynamically binding Tailwind classes to v-for elements
i have nuxtui installed with mostly the default config it gave
3 replies