Sha256: 6e7f102c5b24b1984f83e6af206c274f09efd5e64c0421ee54e62b57f9831cf8

Contents?: true

Size: 229 Bytes

Versions: 3

Compression:

Stored size: 229 Bytes

Contents

async <%=@method_name %>() {
    this.loading = true;
    const response = await api.get(`<%= @options[:model][:name].pluralize %>`);
    this.<%= @options[:model][:name].pluralize %> = response.data;
    this.loading = false;
},

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vue_component_builder-0.1.2 lib/builder/template/element-plus/js/methods/index.js.erb
vue_component_builder-0.1.1 lib/builder/template/element-plus/js/methods/index.js.erb
vue_component_builder-0.1.0 lib/builder/template/element-plus/js/methods/index.js.erb