Replies: 4 comments 1 reply
-
You should generally only use You probably need to use the As an aside, Adam Wathan (creator of Tailwind) does seem to advocate avoiding |
Beta Was this translation helpful? Give feedback.
-
@wongjn thanks for the info, I did try and use |
Beta Was this translation helpful? Give feedback.
-
Try using |
Beta Was this translation helpful? Give feedback.
-
For more info on the |
Beta Was this translation helpful? Give feedback.
-
I am trying to setup tailwind with Vite and Vue for using
@apply
rules inside of SFCs but am having trouble getting the newer utilities to work such asinset-0
. The older utilities all work as@apply
rules and I'm not entirely certain where the issue is; I think is an issue w/@tailwindcss/postcss
which is needed still in my setup w/ v4. With only the vite plugin as shown in the docs things don't work since I'm using postcss (.pcss) files and also postcss inside of my SFCs. Any help with this is much appreciated because I am loving v4, nice work!The specific error I get is
Beta Was this translation helpful? Give feedback.
All reactions