osm_my_commerce/src/store/index.js

23 lines
378 B
JavaScript
Raw Normal View History

2021-01-15 15:38:10 +01:00
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
isFetching: false,
searchQuery: '',
select: {},
searchResults: [],
2021-01-22 13:45:28 +01:00
hours: ['Lu-We 08:00 - 09:00', 'Lu-We 10:00 - 22:00'],
2021-01-15 15:38:10 +01:00
osm_data: {},
},
mutations: {
increment: (state) => {
state.count++
},
},
actions: {},
modules: {},
})