Sha256: 951bbe8cf898fa6f3d4504fec31deb71a89e2a42210c076c25f58f75d3ee1a7d

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

data() {
    return {
        activeTabName: '<%= @options[:model][:name] %>_tab',
        formLabelWidth: '120px',
        
        <%= @options[:model][:name] %>:
        {
            id: null,
            <%= @attributes %>
        },
        <%= @options[:model][:name].pluralize %>:[],
    }
}

Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
vue_component_builder-0.1.2 lib/builder/template/default/js/hooks/data.js.erb
vue_component_builder-0.1.2 lib/builder/template/element-plus/js/hooks/data.js.erb
vue_component_builder-0.1.1 lib/builder/template/element-plus/js/hooks/data.js.erb
vue_component_builder-0.1.0 lib/builder/template/element-plus/js/hooks/data.js.erb