-
Notifications
You must be signed in to change notification settings - Fork 20
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
Tailwindcss 4.0 support #81
Comments
@ryckblick you have the same problem as me? |
Tailwindcss 4.0 was just released. Wondering if that's the problem. If you lock the cli version to 3.x, does that work? |
@enisbudancamanak yes. My guess was the same as @kbond so I came here to see if anybody has already opened an issue. some basic tailwind css get's generated e.g. positioning classes but everything else is missing. Not sure if it is not detecting the templates anymore. But it looks like that to me. But that would be way above my symfony-twig-tailwind skills, so I'm lingering here... :) |
interesting point, how can we lock that to 3.x? |
@kbond you are my hero today! Reconstruction to fix:
voilà it worked again! Thank you so much! Shall we close this issue? |
@ryckblick Let us know if it worked for you! |
@kbond same here. Thanks a ton! I just did the yaml-part and did not touch the composer.json |
@ryckblick good to know that it worked without reverting the version, amazing cooperation here! Thank y'all! ❤ |
I think the issue itself still persists. So maybe keep it open? |
Yeah,let's keep this open. We need to get 4.0 working with this bundle.
This shouldn't be required actually. |
Lock to |
Apparently, the èinit' command does not exist anymore in the tailwindcss CLI in version 4 (without any mention in the release notes or the upgrade guide), so |
@kbond until v4 is supported, maybe the bundle should be updated to download latest 3.x by default instead of downloading 4.0 |
I was thinking this also. I'll create a PR soon |
I upgraded my website https://www.hoamatbeat.com to tailwind 4 today using your package. Works perfectly... just sayin' |
@barbieswimcrew, curious, was there anything specific you needed to configure to make 4.0 work? Trying to get an understanding of what's needed - for instance, the 4.0 release has different binaries. |
@kbond its some hours ago but if i remember right i just did bin/console tailwind:build -w First there was an error... something like "binary can't be found... tailwind latest whatever" but when I tried again it downloaded the v4 binary and ran through properly. I deploy my code on commit by using buddy.io where a pipeline action executes the tailwind:build command again... again no errors. Just like plug n play. But I of course didn't do tailwind:init because the project already existed. Check the css on my website it's commented with tailwind v4 so that's the proof🙃 |
But you know that Tailwind v4 has got some breaking changes that need to be resolved? The |
Hey I used to begin my usual routine:
this is the output it generated me, additionally the tailwind classes doesn't apply anymore.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: