wikijs-fork/client/store/site.js

24 lines
468 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,
2020-02-23 20:20:55 +00:00
contentLicense: siteConfig.contentLicense,
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)
}