import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import tagsView from './modules/tagsView'
import user from './modules/user'
import orderCompletion from './modules/orderCompletion'
import permission from './modules/permission'
import station from './modules/station'
import operationGuide from './modules/operationGuide'
import mqttServer from './modules/mqttServer'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    user,
    tagsView,
    permission,
    station,
    operationGuide,
    mqttServer,
    orderCompletion
  },
  getters
})

export default store
