index.js 258 B

12345678910111213
  1. import Vue from "vue";
  2. import Vuex from "vuex";
  3. import modules from "./modules";
  4. import getters from "./getters";
  5. Vue.use(Vuex);
  6. const debug = process.env.NODE_ENV !== "production";
  7. export default new Vuex.Store({
  8. modules,
  9. getters,
  10. strict: debug
  11. });