DRY up your tailwind CSS using this awesome gem

6 Jan, 2023

In this video, I'll show you a really neat gem to pair with tailwindCSS or any other class based CSS library. We compose different variants of our button component to make it easily reusable across our codebase.

You can find the documentation for the class_variants gem here:
https://github.com/avo-hq/class_variants

Discussion (0)

To comment you need to sign up for a free account or sign in.

Get new videos in your inbox weekly!

Be the first to hear about new courses and videos launching. You’ll only receive relevant news, no spam.