site.js 468 B

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