index.js 887 B

1234567891011121314151617181920212223
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. import Vue from "vue";
  11. import Vuex from "vuex";
  12. import modules from "./modules";
  13. import getters from "./getters";
  14. Vue.use(Vuex);
  15. const debug = process.env.NODE_ENV !== "production";
  16. export default new Vuex.Store({
  17. modules,
  18. getters,
  19. strict: debug
  20. });