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.

25 lines
527 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. tocPosition: siteConfig.tocPosition,
  8. mascot: true,
  9. title: siteConfig.title,
  10. logoUrl: siteConfig.logoUrl,
  11. search: '',
  12. searchIsFocused: false,
  13. searchIsLoading: false,
  14. searchRestrictLocale: false,
  15. searchRestrictPath: false,
  16. printView: false
  17. }
  18. export default {
  19. namespaced: true,
  20. state,
  21. mutations: make.mutations(state)
  22. }