Sha256: 17de45682a474ffaaa5f274589267bd8186d587941c4f9d365543ad6300e24e4

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

class SimpleForm::Theme::TailwindGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('templates', __dir__)

  desc 'Copy the tailwindcss initializer file for simple_form'
  def copy_initializer_file
    template 'config/initializers/simple_form_tailwindcss.rb', 'config/initializers/simple_form_tailwindcss.rb'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_form-theme-0.1.2 lib/generators/simple_form/theme/tailwind/tailwind_generator.rb
simple_form-theme-0.1.1 lib/generators/simple_form/theme/tailwind/tailwind_generator.rb