Skip to content

v4.0.0-rc1 - Bundled application.tailwind.css gets 404 trying to load /assets/tailwindcss #470

Closed
@aguynamedben

Description

@aguynamedben

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:

Image

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:

Image

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.


Image
Image

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions