-
Notifications
You must be signed in to change notification settings - Fork 185
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
v4.0.0-rc1 - Bundled application.tailwind.css gets 404 trying to load /assets/tailwindcss #470
Comments
Thanks for the clear bug report. Looking at it now. |
This file should not be included in the stylesheet link tags served to user agents. Fixes #470
Proposed fix is at #474 |
This file should not be included in the stylesheet link tags served to user agents. Fixes #470
This file should not be included in the stylesheet link tags served to user agents. Fixes #470
UPDATE: Fixed in rc3. Thanks! Not sure w're all the way there yet on this one... I just went through the upgrade process using tailwindcss-rails v4 rc2. I'm on rails v8. I'm somehow still getting a reference to ![]() Can confirm that the old Not sure what to investigate, but happy to if it helps. Thanks! |
This happens due to |
Hi, thank you for making this library. It's been awesome to get setup.
I have everything working, and it looks great, but I noticed in my Chrome Dev Tools Console an error:
The error doesn't seem to be breaking anything, but I'm not sure what's triggering it. It seems that the bundled version of application.tailwind.css, which just has the contents
@import "tailwindcss";
is triggering a network call to GET http://localhost:3000/assets/tailwindcss. I'm not super familiar with the @import statement in CSS, but I find that odd.The Sources tab shows:
If I comment out that import in application.tailwind.css in an attempt to stop the error, Tailwind stops loading all together and my page formatting goes ugly.
This is a pretty "stock" v4.0.0-rc1 install. Screenshots of my diff below.
tailwind.config.js deleted, because I basically got to 4.0.0-rc1 but removing everything from 3.x and running the
tailwindcss:install
task with 4.x which doesn't install tailwind.config.js.The text was updated successfully, but these errors were encountered: