Sha256: 0c540e49f178099ef0df2c48fd710cb21290ff7e776dd52c21f906e8bad51823

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 Bytes

Contents

Description:
    Create kit in the pb_kits folder

Example:
    rails g kit button
//////////////

    This will create:
        app/pb_kits/pb_button/_button_story_rails.html.erb
        app/pb_kits/pb_button/_button_story_react.html.erb
        app/pb_kits/pb_button/_button.html.erb
        app/pb_kits/pb_button/_button.scss
        app/pb_kits/pb_button/_button.md
        app/pb_kits/pb_button/_button.jsx

        app/pb_kits/packs/pb_button.js

/////////////

    Add: @import "../../pb_button/button";

    To the file: app/pb_kits/packs/site_styles/_kit_style_index.scss

/////////////

/////////////

    Add: - button

    To the file: app/config/data/menu.yml

/////////////

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 lib/generators/kit/USAGE
playbook_ui-2.7.1 lib/generators/kit/USAGE
playbook_ui-2.7.0 lib/generators/kit/USAGE
playbook_ui-2.6.0 lib/generators/kit/USAGE
playbook_ui-2.5.0 lib/generators/kit/USAGE