mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
15 lines
235 B
JavaScript
15 lines
235 B
JavaScript
import Vue from "vue";
|
|
import Vuex from "vuex";
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default new Vuex.Store({
|
|
state: {
|
|
isConnected: false
|
|
},
|
|
mutations: {
|
|
isConnected(state, payload) {
|
|
state.isConnected = payload;
|
|
},
|
|
}
|
|
});
|