Closed deyemiobaa closed 1 year ago
Is the stylesheet loaded in the
of your HTML page? You may need to add<%= stylesheet_link_tag "application" %>
to your app/views/layouts/application.html.erb
file. Also if you're using Propshaft, be sure you didn't run rails assets:precompile
or you'll be serving stale assets. You can reset things by running
$ rails assets:clobber
Hi, I am having same issue, it looks you need to run "yarn build:css" to get your css changes or use in other terminal "yarn build:css --watch"
Hello, I added cssbundling-rails to an existing rails project with the instructions provided. When I add styles via classes to my .html.erb files, they get added to the application.css after
yarn build:css
but when I start the rails server those changes don't reflect on the web.html.erb file
assets/builds/application.css file
dev server