Sha256: 6426f7ddabe71dd3d10c18ec5440779229a458a7e280a2cb05b659bcc470281c
Contents?: true
Size: 176 Bytes
Versions: 1
Compression:
Stored size: 176 Bytes
Contents
async <%=@method_name %>(id) { const response = await api.get(`<%= @options[:model][:name].pluralize %>/${id}`); this.<%= @options[:model][:name] %> = response.data; },
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vue_component_builder-0.1.2 | lib/builder/template/default/js/methods/show.js.erb |