forked from TALL/tall3-pc-keti
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
394 B
16 lines
394 B
import { createStore } from 'vuex';
|
|
import device from './device';
|
|
import statistics from './statistics';
|
|
import user from './user';
|
|
|
|
export default createStore({
|
|
modules: { user, device, statistics },
|
|
state: { menu: { show: true, collapse: true } },
|
|
getters: {},
|
|
mutations: {
|
|
toggleCollapse(state) {
|
|
state.menu.collapse = !state.menu.collapse;
|
|
},
|
|
},
|
|
actions: {},
|
|
});
|
|
|