index.js 867 B

12345678910111213141516171819202122232425262728293031
  1. import Vue from 'vue';
  2. import Vuex from 'vuex';
  3. import login from '@common/store/login';
  4. import chat from '@common/store/live/chat';
  5. import roomchat from '@common/store/live/room-chat';
  6. import apply from '@common/store/live/apply';
  7. import dock from '@common/store/live/dock';
  8. import news from '@common/store/live/news';
  9. import market from '@common/store/market/market';
  10. import marketproduct from '@common/store/market/marketproduct';
  11. import talentExperts from '@common/store/market/talentExperts';
  12. import * as ustate from '@common/store/user/state';
  13. import * as umutations from '@common/store/user/mutations';
  14. Vue.use(Vuex);
  15. export default new Vuex.Store({
  16. state: { ...ustate },
  17. mutations: { ...umutations },
  18. actions: {},
  19. modules: {
  20. roomchat,
  21. marketproduct,
  22. talentExperts,
  23. market,
  24. chat,
  25. dock,
  26. apply,
  27. news,
  28. login,
  29. },
  30. });