This commit is contained in:
Gregor Schulte
2023-03-29 10:11:51 +02:00
commit c1abe6ae1e
91 changed files with 6785 additions and 0 deletions

23
src/store.js Normal file
View File

@@ -0,0 +1,23 @@
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
barColor: 'rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)',
barImage: 'https://demos.creative-tim.com/material-dashboard/assets/img/sidebar-1.jpg',
drawer: null
},
mutations: {
SET_BAR_IMAGE (state, payload) {
state.barImage = payload
},
SET_DRAWER (state, payload) {
state.drawer = payload
}
},
actions: {
}
})