method
css_gemfile_entry
v7.0.0 -
Show latest stable
- Class:
Rails::Generators::AppBase
css_gemfile_entry()private
No documentation available.
# 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