site.js 488 Bytes
Newer Older
1 2 3 4 5
import { make } from 'vuex-pathify'

/* global siteConfig */

const state = {
6
  company: siteConfig.company,
7
  contentLicense: siteConfig.contentLicense,
8
  dark: siteConfig.darkMode,
9
  mascot: true,
10
  title: siteConfig.title,
11
  logoUrl: siteConfig.logoUrl,
12
  search: '',
Nick's avatar
Nick committed
13
  searchIsFocused: false,
14 15
  searchIsLoading: false,
  searchRestrictLocale: false,
16 17
  searchRestrictPath: false,
  printView: false
18 19 20 21 22 23 24
}

export default {
  namespaced: true,
  state,
  mutations: make.mutations(state)
}