index.js 341 B

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