17 lines
305 B
JavaScript
17 lines
305 B
JavaScript
import { createStore } from "vuex";
|
|
import user from '@/store/modules/user'
|
|
import chat from '@/store/modules/chat'
|
|
import userInfo from '@/store/modules/userInfo'
|
|
import getters from './getters'
|
|
|
|
const store = createStore({
|
|
modules: {
|
|
user,userInfo,chat
|
|
},
|
|
getters
|
|
});
|
|
export default store;
|
|
|
|
|
|
|