How Should I use Tailwindcss 4 styles on .vue files? #18075
-
I installed tailwindcss by vite installation manual, .css file tailwindcss styles are applying correctly but not working when I try to use style classes in a .vue file. this is working :
but this one is not working:
what is the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Consider providing a git repo that reproduces the issue and we can take a closer look for you. |
Beta Was this translation helpful? Give feedback.
-
Related: From v4 the reset style cannot be overridden by TailwindCSS classes Since you didn't place the In addition to visual inspection, always check the result in DevTools. The key questions in such cases are:
|
Beta Was this translation helpful? Give feedback.
I've just reset PrimeVue configuration, and problem solved.