site.js 376 B

123456789101112131415161718192021
  1. import { make } from 'vuex-pathify'
  2. /* global siteConfig */
  3. const state = {
  4. company: '',
  5. dark: siteConfig.darkMode,
  6. mascot: true,
  7. title: siteConfig.title,
  8. search: '',
  9. searchIsFocused: false,
  10. searchIsLoading: false,
  11. searchRestrictLocale: false,
  12. searchRestrictPath: false
  13. }
  14. export default {
  15. namespaced: true,
  16. state,
  17. mutations: make.mutations(state)
  18. }