method

css_gemfile_entry

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: AppBase
css_gemfile_entry() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/app_base.rb, line 357
      def css_gemfile_entry
        return [] unless options[:css]

        if !using_node? && options[:css] == "tailwind"
          GemfileEntry.floats "tailwindcss-rails", "Use Tailwind CSS [https://github.com/rails/tailwindcss-rails]"
        else
          GemfileEntry.floats "cssbundling-rails", "Bundle and process CSS [https://github.com/rails/cssbundling-rails]"
        end
      end
Register or log in to add new notes.