refactor: client-side optimizations + lazy-loading

This commit is contained in:
NGPixel
2017-05-23 00:27:16 -04:00
parent 6b47064ccc
commit dc0e2fac41
16 changed files with 163 additions and 117 deletions

View File

@@ -0,0 +1,15 @@
'use strict'
export default {
state: {
shown: false
},
getters: {},
mutations: {
shownChange: (state, shownState) => { state.shown = shownState }
},
actions: {
adminUsersCreateOpen({ commit }) { commit('shownChange', true) },
adminUsersCreateClose({ commit }) { commit('shownChange', false) }
}
}