import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import icon from '@/store/modules/icon'
import realtimeWatch from '@/store/modules/realtimeWatch'
import pastRoute from '@/store/modules/pastRoute'
import monitor from '@/store/modules/monitor'
import appConfig from '@/store/modules/appConfig'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
	icon,
	realtimeWatch,
	pastRoute,
	monitor,
    appConfig
  },
  getters
})

export default store
