Using Vue/Nuxt and Tailwind2


I’m having trouble having Nuxt and Tailwind2 working together.
I tried to install tailwind 2 because the new utility classes weren’t supported.
Since then when I try to @apply some class in a global “main.scss” or in the part of my view component, I’m having error like these :
The `text-white` class does not exist. If you're sure that `text-white` exists, make sure that any ` @import` statements are being properly processed before Tailwind CSS sees your CSS, as `@apply` can only be used for classes in the same CSS tree.

Does anyone experienced this kind of issue?

Hey @Lx4!
Welcome the Forum!

1 Like