Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 557 Bytes
import Vue from 'vue';
import Vuex from 'vuex';
import auth from './modules/auth';
import user from './modules/user';
Vue.use(Vuex);
export default new Vuex.Store({
state: {
},
mutations: {
},
actions: {
},
modules: {
auth: {
namespaced: true,
state: auth.state,
mutations: auth.mutations,
getters: auth.getters,
actions: auth.actions,
},
user: {
namespaced: true,
state: user.state,
actions: user.actions,
mutations: user.mutations,
getters: user.getters,
},
},
});