Where do custom CSS files go in Rails app ?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • postcss-import

    PostCSS plugin to inline at-import rules content

  • You can import custom CSS files from your application.tailwind.css file using postcss-import. After installing the package, you need to add it to your postcss.config.js, in the order specified in the docs. If you're using the Tailwind CLI for compilation (with cssbundling-rails you'd find this in your package.json), you might need to add the --postcss argument, which tells Tailwind to pick up your postcss.config.js.

  • daisyui

    ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library

  • Shoutout to https://daisyui.com/ for doing exactly this!

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
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