Setting Up Rails 6.1 + Tailwind CSS 2.2 with JIT

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • Webpacker

    Use Webpack to manage app-like JavaScript modules in Rails

    // https://github.com/rails/webpacker/issues/2784#issuecomment-737003955 function hotfixPostcssLoaderConfig (subloader) { const subloaderName = subloader.loader if (subloaderName === 'postcss-loader') { if (subloader.options.postcssOptions) { console.log( '\x1b[31m%s\x1b[0m', 'Remove postcssOptions workaround in config/webpack/environment.js' ) } else { subloader.options.postcssOptions = subloader.options.config; delete subloader.options.config; } } } environment.loaders.keys().forEach(loaderName => { const loader = environment.loaders.get(loaderName); loader.use.forEach(hotfixPostcssLoaderConfig); });

  • PopRuby

    PopRuby: Clothing and Accessories for Ruby Developers. Fashion meets Ruby! Shop our fun Ruby-inspired apparel and accessories designed to celebrate the joy and diversity of the Ruby community.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts