Sha256: 367bc194b8cb7ffb1f7408474b4cab3bac302adf6d4689d81ca426da37bf513e
Contents?: true
Size: 580 Bytes
Versions: 62
Compression:
Stored size: 580 Bytes
Contents
Description: Generate boilerplate for a custom content block type. Options: --skip-view-model - do not create a view model Example: rails generate workarea:content_block_type BlockType creates: app/assets/stylesheets/workarea/storefront/components/_block_type_content_block.scss app/views/workarea/admin/content_blocks/types/_block_type.html.haml app/views/workarea/storefront/content_blocks/types/_block_type.html.haml app/view_models/workarea/content_blocks/block_type_view_model.rb modifies: config/initializers/workarea.rb
Version data entries
62 entries across 62 versions & 1 rubygems