import Vue from 'vue'
import Vuex from 'vuex'
import app from "./modules/app";
import user from "./modules/user";
import getters from "./getters";
Vue.use(Vuex)

export default new Vuex.Store({
	state: {
        loading: true,
        deviceActive:1,
	},
	mutations: {
        getDeviceActive(state,payload){
            state.deviceActive = payload
        }
	},
	actions: {
		
	},
	modules: {
		app,
		user
	},
	getters
})
