Blogs

Using AlpineJS with Hotwire and Turbo in Rails [2021]

The latest addition to Rails, Hotwire comes with a breaking change to AplineJS with the new Turbo (previously Tubolinks). Here's how to fix it.

The Best Setup for the `container` Class in Tailwind [2021]

There's a lot of classes in Tailwind but the one you will be writing the most is container. Learn the best way of setting up this class to write better Tailwind code, faster.

Writing React/Vue Like Components with HTML

Want to write React/Vue like components but with HTML? Thanks to the Fetch API, this is now possible.

How to Setup Tailwind JIT in Rails 6 with Live Reload [2021]

Use the new Tailwind JIT mode in your Rails 6 project with live reload for a faster and better development experience

How to Schedule Vercel Deploys [2021]

Setup scheduled deploys to Vercel in 5 minutes through deploy hooks, GitHub secrets and GitHub actions

How to Download a CSV with Current Params in Ruby on Rails [2021]

Exporting a CSV in Ruby on Rails is easy, but exporting a CSV with params that filter the data is trickier, but not anymore.

How to Create a Material Design Floating Label in Tailwind [2021]

Learn how to create the famous floating label effect found in Material Design by Google in Tailwind.

How to Add Conic Gradients to Tailwind

Currently, you cannot user conic gradients in Tailwind but that all changes with a few lines of code in the config.

Better Ways to Write `@apply` in Tailwind [2021]

Learn how to write better Tailwind in a CSS file with `@apply` without it becoming unreadable and with it feeling more like native CSS.