-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@apply space-x-* or space-y-* not working #1791
Comments
Are you using any preprocessor? Could you share your |
Im using autoprefixer and postcss... And my config.js file looking like this :
And my import file
But maybe the problem lies in the TailwindUI rather than tailwindcss Update: just tested with only Tailwindcss getting the same error |
Having the same issue. Does not work |
Oh, I see it! You're using an utility before it's available: https://tailwindcss.com/docs/using-with-preprocessors/#build-time-imports Your Move the utilities up or your imported file below it. |
Duplicate of #1599. |
I still cannot make this working. I have ridiculously simple rule:
And have this included after utilities:
But my build still fails claiming:
Can you help me? |
Did you read the issue in the comment exactly above yours?
|
I did but didn't fully understood what the result is. Does it mean that Thanks |
I have the same exact issue. Loading:
and then
giving the error:
Any thoughts? |
Please see this issue it explains it all: This just doesn’t work and will not work any time soon, it’s a limitation of |
any fix |
See experimental feature here: |
When trying to use space-x-* or space-y-* I get an build error say:
The classes gets build in the css file, if I dont purge first, but it can be used with @apply
Im using Tailwindcss 1.4.6
The text was updated successfully, but these errors were encountered: