Skip to content

Refactor Tailwind installation: Update file paths for application.css #174

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anonychun
Copy link

I’m encountering the following error in the browser console when running a freshly generated Rails app using --main:

GET http://localhost:3000/assets/tailwindcss net::ERR_ABORTED 404 (Not Found)

The error disappears after moving the file from app/assets/stylesheets/application.tailwind.css to app/assets/tailwind/application.css.

I discovered this solution by reviewing this pull request: rails/tailwindcss-rails#474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant