admin
This commit is contained in:
11
admin-web/plop-templates/store/index.hbs
Executable file
11
admin-web/plop-templates/store/index.hbs
Executable file
@@ -0,0 +1,11 @@
|
||||
export const use{{ properCase name }}Store = defineStore(
|
||||
// 唯一ID
|
||||
'{{ camelCase name }}',
|
||||
() => {
|
||||
const someThing = ref(0)
|
||||
|
||||
return {
|
||||
someThing,
|
||||
}
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user