mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-03 23:33:45 +08:00
v4.3.0
This commit is contained in:
13
admin/plop-templates/store/index.hbs
Executable file
13
admin/plop-templates/store/index.hbs
Executable file
@@ -0,0 +1,13 @@
|
||||
const use{{ properCase name }}Store = defineStore(
|
||||
// 唯一ID
|
||||
'{{ camelCase name }}',
|
||||
() => {
|
||||
const someThing = ref(0)
|
||||
|
||||
return {
|
||||
someThing,
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
export default use{{ properCase name }}Store
|
||||
Reference in New Issue
Block a user