Skip to content
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

CSS not loading in Sprockets on 2.0.0 #246

Open
jonathandean opened this issue Jan 14, 2025 · 1 comment
Open

CSS not loading in Sprockets on 2.0.0 #246

jonathandean opened this issue Jan 14, 2025 · 1 comment

Comments

@jonathandean
Copy link

I have an app with madmin working without issue until 2.0.0 and after upgrading I see no styles.

My app uses sprockets and importmaps. I have also tried to run the install generator again and also generate views.

The console shows that it can't fetch the newly split CSS files

GET http://localhost:3000/reset.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/trix.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/sidebar.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/pagination.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/actiontext.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/tables.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/buttons.css net::ERR_ABORTED 404 (Not Found)Understand this errorAI
GET http://localhost:3000/forms.css net::ERR_ABORTED 404 (Not Found)

from application-66ab1f74bae387890dacfe11cce5e0c8f39559dc6bc52b3899bd87b94211822a.css:6

@import url(/../trix.css);
@import url(/actiontext.css);
@import url(/reset.css);
@import url(/sidebar.css);
@import url(/buttons.css);
@import url(/forms.css);
@import url(/tables.css);
@import url(/pagination.css);

Does 2.0.0 require propshaft and cssbundling-rails?

@excid3
Copy link
Owner

excid3 commented Jan 14, 2025

Please provide a reproduction app so we can take a look.

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

No branches or pull requests

2 participants