index.js 436 B

1234567891011121314151617181920212223
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. import app from './modules/app'
  4. import user from './modules/user'
  5. import tagsView from './modules/tagsView'
  6. import permission from './modules/permission'
  7. import settings from './modules/settings'
  8. import getters from './getters'
  9. Vue.use(Vuex)
  10. const store = new Vuex.Store({
  11. modules: {
  12. app,
  13. user,
  14. tagsView,
  15. permission,
  16. settings
  17. },
  18. getters
  19. })
  20. export default store