Sha256: 29fe521386320cd4cd99ff4afb07a846e7c26d21a128db4e4a864212e6cbc07f

Contents?: true

Size: 341 Bytes

Versions: 37

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add Tailwind CSS support to rails application
    class Scaffold < AddOn
      depends_on :tailwind

      def apply
        directory 'lib/templates/erb/scaffold', 'lib/templates/erb/scaffold'
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rails_app_generator-0.1.26 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.25 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.24 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.23 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.22 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.21 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.20 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.19 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.18 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.17 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.16 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.15 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.14 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.13 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.12 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.11 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.10 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.9 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.8 lib/rails_app_generator/addons/scaffold.rb
rails_app_generator-0.1.7 lib/rails_app_generator/addons/scaffold.rb