mo526
Rails 7: Not able to load tailwind css ActionView::Template::Error (The asset "tailwind
I am deploying my rails 7 app on railway. I'm using hotwire, and tailwindcss-rails gem. My app runs correctly locally, however I am getting this issue when I deploy it:
ActionView::Template::Error (The asset "tailwind.css" is not present in the asset pipeline.
I am running the following commands on build:
bin/rails assets:precompile && bin/rubocop . && bin/rake spec
I already have tried all proposed solution in this thread https://github.com/rails/tailwindcss-rails/issues/153 , issue is happening on Heroku but also here.
project id: 2d533211-719d-4d5c-b32c-75f838e4fb27
3 replies