Closed freesteph closed 3 years ago
I've pried into the gem and I strongly suspect the issue is my templates being written in HAML rather than ERB. Would that be it?
That is it. Going to attempt a HAML purger and will report back if anything succeeds.
I did manage to write some code around HAML files; it's far from perfect but it does the job for my application. I don't know if it's something worth considering for merge, but the changes are here:
https://github.com/rails/tailwindcss-rails/compare/main...freesteph:haml
Hey, thanks for the gem which was a breeze to use in development:
However in production the Tailwind CSS appears to be missing:
If I manually edit the production HTML and add a CDN-version of Tailwind, it looks fine. Am I missing a step to have production correctly pick up the assets?
From the README I thought it would be taken care of: