import Vue from 'vue';
import Vuex from 'vuex';
import user from './modules/user';
import isRefreshPage from './modules/isRefreshPage';
import otheStore from './modules/otheStore';
import getters from './getters';

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    user,
    isRefreshPage,
    otheStore,
  },
  getters,
});

export default store;
