Sha256: c2442e1368d5838fb4d4d7f39ed0008c0a9a13c9c3730408e1443d8c144c6738
Contents?: true
Size: 906 Bytes
Versions: 15
Compression:
Stored size: 906 Bytes
Contents
say "Install Bulma Form Rails" say "Bulma Form Rails requires Stimulus@3.0.1+", :yellow # Register Stimulus controller copy_file File.join(Gem.loaded_specs['bulma_form_rails'].full_gem_path, 'lib', 'bulma_form_rails', 'javascript', 'controllers', 'child_objects_controller.js'), File.join('app', 'javascript', 'controllers', 'child_objects_controller.js') append_to_file File.join('app', 'javascript', 'controllers', 'index.js'), %(\nimport ChildObjectsController from "./child_objects_controller.js"\n) append_to_file File.join('app', 'javascript', 'controllers', 'index.js'), %(application.register("child-objects", ChildObjectsController)\n) # Configure RBS copy_file File.join(Gem.loaded_specs['bulma_form_rails'].full_gem_path, 'sig', 'bulma_form_helper.rbs'), File.join('sig', 'bulma_form_helper.rbs') # Install JavaScript dependencies system('yarn add @rails/request.js bulma-popover bulmahead')
Version data entries
15 entries across 15 versions & 1 rubygems