wikijs-fork/client/store/site.js

23 lines
423 B
JavaScript
Raw Normal View History

2018-08-04 21:27:55 +00:00
import { make } from 'vuex-pathify'
/* global siteConfig */
const state = {
company: siteConfig.company,
dark: siteConfig.darkMode,
2018-08-04 21:27:55 +00:00
mascot: true,
2019-03-09 05:51:02 +00:00
title: siteConfig.title,
logoUrl: siteConfig.logoUrl,
2019-03-09 05:51:02 +00:00
search: '',
2019-03-09 23:43:32 +00:00
searchIsFocused: false,
2019-03-09 05:51:02 +00:00
searchIsLoading: false,
searchRestrictLocale: false,
searchRestrictPath: false
2018-08-04 21:27:55 +00:00
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}