mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 20:54:19 +00:00
search autocomplete
This commit is contained in:
parent
d47ad5e88d
commit
eccc40a123
15 changed files with 1094 additions and 9924 deletions
23
docs/.vuepress/store/index.js
Normal file
23
docs/.vuepress/store/index.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
drawer: true,
|
||||
},
|
||||
getters: {
|
||||
drawer: state => state.drawer,
|
||||
},
|
||||
actions: {
|
||||
updateDrawer: ({ commit }, payload) => {
|
||||
commit('setDrawer', payload)
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
setDrawer: (state, payload) => {
|
||||
state.drawer = payload
|
||||
},
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue