index.js 311 B

1234567891011121314151617
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. import moduleHome from '@/store/home/index.js'
  4. import moduleHouse from '@/store/house/index.js'
  5. import moduleMy from '@/store/my/index.js'
  6. Vue.use(Vuex);
  7. const store = new Vuex.Store({
  8. modules:{
  9. moduleHome,
  10. moduleHouse,
  11. moduleMy
  12. }
  13. })
  14. export default store