You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
468 B

  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. }