index.js 262 B

123456789101112131415
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. import moduleUser from './user.js'
  4. import moduleBusiness from './business.js'
  5. Vue.use(Vuex)
  6. const store = new Vuex.Store({
  7. modules: {
  8. m_user: moduleUser,
  9. m_business: moduleBusiness
  10. },
  11. })
  12. export default store