wikijs-fork/client/store/admin.js

16 lines
209 B
JavaScript
Raw Normal View History

2018-07-15 23:16:19 +00:00
import { make } from 'vuex-pathify'
2018-08-04 21:27:55 +00:00
/* global siteConfig */
2018-07-15 23:16:19 +00:00
const state = {
theme: {
2018-08-04 21:27:55 +00:00
dark: siteConfig.darkMode
2018-07-15 23:16:19 +00:00
}
}
2018-06-10 00:11:00 +00:00
export default {
namespaced: true,
2018-07-15 23:16:19 +00:00
state,
mutations: make.mutations(state)
2018-06-10 00:11:00 +00:00
}