-
-
Notifications
You must be signed in to change notification settings - Fork 3
TailwindCSS v4 supported? #58
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
Comments
I found that TailwindCSSd 4 uses @layer to wrap the minified styles, which causes the compilation to fail.
In my dist folder that is succeeded in TailwindCSS v3, I tried to place a css file with below content:
Indeed it threw the same error:
|
Good question! I haven't touched v4 at all 😢 . I will take a look at it and see if I can come up with a better solution (Im looking at Lightning CSS) |
any updates? |
A new CSS transformation engine is complete, but it has not yet been fully integrated into this package (currently beta, ps. features are subject to change without notice). I am also looking for a complex tailwind 4 project for testing purposes. Let me know if you got one. |
try my repo PolarLearn, it uses shadcn and alot of tw 4 classes, please note that the repo and project itself is dutch so you might need a translator |
Migrate from version 2.x to 3.x ps. I don't see any problems with tw4 so far, except for the issue related to the JS part, which can be fixed by fine-tuning the config(very likely). Thank you for your resources @andr3i1010 |
No problem at all! |
Uh oh!
There was an error while loading. Please reload this page.
Hi, may I know if this great library supports TailwindCSS v4?
When I executed it on my web project using TailwindCSS v4 it threw below errors:
The css-obfuscator folder was created but it was empty.
The contentIgnoreRegexes in next-css-obfuscator.config.js is here. I am not sure it's matter.
But it's fine if I used TailwindCSS v3.
Cheers,
Cody
The text was updated successfully, but these errors were encountered: