Sha256: 21dcb2dbf6dafdfcd0179dfa79dea95f535131fef620d47dcf5d3e0bb8cd20f4

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

module CmPageBuilder::Rails
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy the jsx component"
      source_root File.expand_path('templates', __dir__)

      def copy_jsx_component
        template "app/javascripts/components/cm_content_manager/Content.jsx"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
cm_page_builder-0.2.3 lib/generators/cm_page_builder/rails/install_generator.rb
cm_page_builder-0.2.2 lib/generators/cm_page_builder/rails/install_generator.rb
cm_page_builder-rails-0.2.2 lib/generators/cm_page_builder/rails/install_generator.rb
cm_page_builder-rails-0.2.1 lib/generators/cm_page_builder/rails/install_generator.rb