Files
schisandra-cloud-album-front/src/store/index.ts
2024-09-27 00:42:50 +08:00

18 lines
632 B
TypeScript

import {useAuthStore} from '@/store/modules/userStore.ts';
import {useThemeStore} from "@/store/modules/themeStore.ts";
import {langStore} from "@/store/modules/langStore.ts";
import {useClientStore} from "@/store/modules/clientStore.ts";
import {useCommentStore} from "@/store/modules/commentStore.ts";
import {useWebSocketStore} from "@/store/modules/websocketStore.ts";
export default function useStore() {
return {
user: useAuthStore(),
theme: useThemeStore(),
lang: langStore(),
client: useClientStore(),
comment: useCommentStore(),
websocket: useWebSocketStore(),
};
}