mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-15 00:15:57 +08:00
* add ADempiere template to make components, views and store modules files * fix store modules template. Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
23 lines
304 B
Handlebars
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}}
|