DEV Community

Discussion on: Mimic Tailwind components in Rails using Helpers

Collapse
 
phawk profile image
Pete Hawkins

Have you tried using view_component? It’s created by GitHub and allows a more complete approach to components than view partials/helpers. Highly recommend checking it out, it works great with tailwind!

Collapse
 
salex profile image
Steve Alex

That's actually on my list of to do's. I've read a little about it, just have not tried it yet.