You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/client/store/site.js

25 lines
493 B

import { make } from 'vuex-pathify'
/* global siteConfig */
const state = {
id: siteConfig.id,
company: siteConfig.company,
contentLicense: siteConfig.contentLicense,
dark: siteConfig.darkMode,
title: siteConfig.title,
logoUrl: siteConfig.logoUrl,
search: '',
searchIsFocused: false,
searchIsLoading: false,
searchRestrictLocale: false,
searchRestrictPath: false,
printView: false
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}