site.js 488 B

123456789101112131415161718192021222324
  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. printView: false
  16. }
  17. export default {
  18. namespaced: true,
  19. state,
  20. mutations: make.mutations(state)
  21. }