import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import user from './modules/user'
import dict from './modules/dict'
import stepView from './modules/stepView'
import permission from './modules/permission'
import attachment from './modules/attachment'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    dict,
    stepView,
    permission,
    attachment
  },
  getters
})

export default store
