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

Version Path
workarea-core-3.5.15 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.36 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.14 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.35 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.13 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.34 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.12 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.33 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.11 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.10 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.32 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.9 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.31 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.8 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.30 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.7 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.29 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.6 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.4.28 lib/generators/workarea/content_block_type/USAGE
workarea-core-3.5.5 lib/generators/workarea/content_block_type/USAGE