Рет қаралды 946
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.
Source code available here:
github.com/phawk/happi/pull/36
You can also find the documentation for the class_variants gem here:
github.com/avo-hq/class_variants
---
Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks!
app.payhere.co/rapid-ruby/buy...
You can also find more content like this, including premium courses and exclusive community and mentorship to help you level-up! Head over to rapidruby.com and use the code RRKZbin for a discount!