cyywl_server/yudao-ui-app/store/index.js

14 lines
258 B
JavaScript
Raw Permalink Normal View History

2023-05-15 10:12:22 +08:00
import Vue from "vue";
import Vuex from "vuex";
import modules from "./modules";
import getters from "./getters";
2023-05-15 10:12:22 +08:00
Vue.use(Vuex);
const debug = process.env.NODE_ENV !== "production";
2023-05-15 10:12:22 +08:00
export default new Vuex.Store({
modules,
getters,
strict: debug
});