import Vue from 'vue' import Vuex from 'vuex' import user from './modules/user' import permission from './modules/permission' import getters from './getters' import mutations from './mutations' import state from './state' import app from './modules/app' Vue.use(Vuex) const store = new Vuex.Store({ modules: { permission, user, app }, state, mutations, getters }) export default store