sau / sau_frontend /src /stores /index.js
Edan233's picture
feat: 新增 pinia 状态管理
482cef3
raw
history blame contribute delete
258 Bytes
import { createPinia } from 'pinia'
import { useUserStore } from './user'
import { useAccountStore } from './account'
import { useAppStore } from './app'
const pinia = createPinia()
export default pinia
export { useUserStore, useAccountStore, useAppStore }