Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
34 lines (29 sloc) 557 Bytes
import Vue from 'vue';
import Vuex from 'vuex';
import auth from './modules/auth';
import user from './modules/user';
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,