DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Effortlessly install TailwindCss in a Rails app with Webpack (minimum configuration)
Vernes Pendić for Wizard Health

Posted on

Effortlessly install TailwindCss in a Rails app with Webpack (minimum configuration)

A while back DHH decided to created a gem for easily installing TailwindCss into rails apps πŸ™ŒπŸ». This gem could be used to install Tailwind through the asset pipeline as well as using webpack. This changed later on as contributors wanted to focus their attention to what was the heart of the gem πŸ₯Ί.

Well, since a lot of people used this gem to get a new Rails app going with Tailwind without the hassle of configuring everything from scratch (including colleagues from my company), we decided to create a new gem πŸŽ‰. This gem installs Tailwind with Webpack and has production purging enabled. Other Webpack specific problems are to be addressed as well.

Top comments (0)

Update Your DEV Experience Level:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›