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.

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