mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-08 08:42:17 +02:00
16 lines
235 B
JavaScript
16 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;
|
||
|
},
|
||
|
}
|
||
|
});
|