feat: delete a page

This commit is contained in:
NGPixel
2017-10-09 21:43:43 -04:00
parent fc764b7e4c
commit 516220bdda
11 changed files with 170 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
export default {
namespaced: true,
state: {
shown: false
},
getters: {},
mutations: {
shownChange: (state, shownState) => { state.shown = shownState }
},
actions: {
open({ commit }) { commit('shownChange', true) },
close({ commit }) { commit('shownChange', false) }
}
}