N
Nuxt2y ago
Phillip

How can I use tailwind @apply within a style tag?

Like this:
<style lang="scss" scoped>
a.nuxt-link-active {
@apply .bg-indigo-700 .text-white;
}
</style>
<style lang="scss" scoped>
a.nuxt-link-active {
@apply .bg-indigo-700 .text-white;
}
</style>
I'm using @Nuxtjs/tailwindcss with Nuxt 3
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Phillip
PhillipOP2y ago
@unai you are right! thank you
Want results from more Discord servers?
Add your server