This content originally appeared on DEV Community and was authored by Vernes
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.
This content originally appeared on DEV Community and was authored by Vernes
Vernes | Sciencx (2021-08-22T14:26:28+00:00) Effortlessly install TailwindCss in a Rails app with Webpack (minimum configuration). Retrieved from https://www.scien.cx/2021/08/22/effortlessly-install-tailwindcss-in-a-rails-app-with-webpack-minimum-configuration/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.