feat: editor page properties
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
export default {
|
||||
namespaced: true,
|
||||
state: {
|
||||
theme: {
|
||||
dark: false
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
setThemeDarkMode(state, payload) {
|
||||
state.theme.dark = payload
|
||||
}
|
||||
import { make } from 'vuex-pathify'
|
||||
|
||||
const state = {
|
||||
theme: {
|
||||
dark: false
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
mutations: make.mutations(state)
|
||||
}
|
||||
|
Reference in New Issue
Block a user