mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-10-17 07:23:43 +08:00
初始化
This commit is contained in:
11
admin/plop-templates/store/index.hbs
Normal file
11
admin/plop-templates/store/index.hbs
Normal file
@@ -0,0 +1,11 @@
|
||||
const use{{ properCase name }}Store = defineStore(
|
||||
// 唯一ID
|
||||
'{{ camelCase name }}',
|
||||
{
|
||||
state: () => ({}),
|
||||
getters: {},
|
||||
actions: {},
|
||||
},
|
||||
)
|
||||
|
||||
export default use{{ properCase name }}Store
|
Reference in New Issue
Block a user