Просмотр исходного кода

docs: enabling DocSearch https://github.com/algolia/docsearch-configs/commit/0b171ddf626dac501b2d9bf4a80e79613c874918 (#1472)

Sylvain Pace 6 лет назад
Родитель
Сommit
31e4fbc8ac
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      docs/.vuepress/config.js

+ 4 - 0
docs/.vuepress/config.js

@@ -39,6 +39,10 @@ module.exports = {
   serviceWorker: true,
   theme: 'vue',
   themeConfig: {
+    algolia: {
+      apiKey: '97f135e4b5f5487fb53f0f2dae8db59d',
+      indexName: 'vuex',
+    },
     repo: 'vuejs/vuex',
     docsDir: 'docs',
     locales: {