I have a new Rails 8 app with Tailwind support.
Tailwind classes are automatically added to generated views.
After bundling haml-rails
, I was expecting to see the same scaffolding applied to HAML views, including TW utility classes, but instead I am getting bare-bone HTML.
Was my assumption wrong to begin with or am I missing something?
Thanks, Giuseppe
Hi Guiseppe,
My first thought reading this was “Is HAML still alive?” I remember loving it way way back in the day, but I also remember a time when its usage fell off. I checked the its releases and realized it hasn’t gotten a new release in its manner since 2022. I don’t think haml-rails is setup to support Tailwind yet.
Thankfully though, Tailwind classes are component-enough to tag them onto whatever Haml generates.