Replies: 1 comment
-
Config is done in CSS, see https://tailwindcss.com/docs/theme |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am setting up tailwind 4.1.11 on my system with vite and postcss. This is building tailwind fine, I can see things like
hidden
andblock
with no problem, however when I use something likesm:block
I get an error likeError: Cannot apply utility class \
sm:block` because the `sm` variant does not exist.`I did some more investigation and I have found that it seems that tailwind.config.js just is not been loaded at all, so the breakpoints should come from the internal defaults.
I have used tailwind before, but this is the first time I have used the 4.x series and I am not sure what I am doing wrong.
Any help would be appreciated.
Gordon.
Beta Was this translation helpful? Give feedback.
All reactions