Sha256: f00c645eb11a4ddf57a25339f5495ecc1c3c69ccef30988c990772908b354f75
Contents?: true
Size: 628 Bytes
Versions: 27
Compression:
Stored size: 628 Bytes
Contents
# frozen_string_literal: true # Daisy require 'pry' # Do NOT use the --css=tailwind option when using DaisyUI or any other custom plugin syste for tailwindcss self.local_template_path = File.join(File.dirname(__FILE__), 'rag_tailwind_daisyui') gac 'base rails 7 image created' add_controller('home', 'index') route("root 'home#index'") template 'index.html.erb', 'app/views/home/index.html.erb' , force: true after_bundle do gem "cssbundling-rails" rails_command('css:install:tailwind') run('npm install daisyui') gsub_file 'tailwind.config.js', %(]\n}), "],\n plugins: [require(\"daisyui\")],\n}" end
Version data entries
27 entries across 27 versions & 1 rubygems