index.js 398 B

123456789101112131415161718192021
  1. import Vue from "vue";
  2. import Vuex from "vuex";
  3. import user from "./modules/user";
  4. import modals from "./modules/modals";
  5. import sidebars from "./modules/sidebars";
  6. import station from "./modules/station";
  7. import admin from "./modules/admin";
  8. Vue.use(Vuex);
  9. export default new Vuex.Store({
  10. modules: {
  11. user,
  12. modals,
  13. sidebars,
  14. station,
  15. admin
  16. },
  17. strict: false
  18. });