1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import Vue from 'vue' import Vuex from 'vuex' import configure from './configure' import user from './user' import song from './song' Vue.use(Vuex) const store = new Vuex.Store({ modules: { configure, user, song } }) export default store |