index.js 273 B

1234567891011121314151617
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. Vue.use(Vuex)
  4. import shopro from './modules/shopro.js'
  5. import user from './modules/user.js'
  6. import cart from './modules/cart.js'
  7. const store = new Vuex.Store({
  8. modules: {
  9. shopro,
  10. user,
  11. cart
  12. }
  13. })
  14. export default store