23 lines
423 B
JavaScript
23 lines
423 B
JavaScript
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)
|
|
}
|