1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-15 00:15:57 +08:00
Leonel Matos a1bb5a0e1e
add ADempiere template to make components, views and store modules files (#352)
* add ADempiere template to make components, views and store modules files

* fix store modules template.

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-02-25 09:16:57 -04:00

23 lines
304 B
Handlebars

const {{name}} = {
{{#if state}}
state: {
{{name}}: {}
},
{{/if}}
{{#if mutations}}
mutations: {},
{{/if}}
{{#if actions}}
actions: {},
{{/if}}
{{#if getters}}
getters: {
get{{name}}: (state) => {
return state.{{name}}
}
}
{{/if}}
}
export default {{name}}