You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
379 B
11 lines
379 B
1 year ago
|
import { defineStore } from 'pinia'
|
||
|
import { {{upperDataName}}StoreType } from './{{name}}Store.d'
|
||
|
import { setLocalStorage, getLocalStorage } from '@/utils'
|
||
|
import { StorageEnum } from '@/enums/storageEnum'
|
||
|
|
||
|
export const use{{upperDataName}}Store = defineStore({
|
||
|
id: 'use{{upperDataName}}Store',
|
||
|
state: (): {{upperDataName}}StoreType => ({}),
|
||
|
getters: {},
|
||
|
actions: {}
|
||
|
})
|