2024-04-23 23:01:35 +08:00
|
|
|
import { createStore } from "vuex";
|
|
|
|
import user from '@/store/modules/user'
|
2024-06-29 18:35:54 +08:00
|
|
|
import chat from '@/store/modules/chat'
|
2024-05-06 16:11:42 +08:00
|
|
|
import userInfo from '@/store/modules/userInfo'
|
2024-04-23 23:01:35 +08:00
|
|
|
import getters from './getters'
|
|
|
|
|
|
|
|
const store = createStore({
|
|
|
|
modules: {
|
2024-06-29 18:35:54 +08:00
|
|
|
user,userInfo,chat
|
2024-04-23 23:01:35 +08:00
|
|
|
},
|
|
|
|
getters
|
|
|
|
});
|
|
|
|
export default store;
|
|
|
|
|
|
|
|
|
|
|
|
|