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

23 lines
423 B

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