Add docsearch plugin from agolia

This commit is contained in:
Jakub Juszczak
2017-04-06 11:05:50 +02:00
parent 2ab4cacf12
commit 7e7e5d0028
4 changed files with 18 additions and 3 deletions

View File

@@ -30,6 +30,15 @@ docute.init({
]
},
plugins: [
evanyou()
evanyou(),
docsearch({
apiKey: 'b3544f7387612693644777553675d56a',
indexName: 'vue-chartjs',
// algolia docsearch allows you to search with tag filter
tags: ['english', 'de'],
// this plugin does require a url too
// where docsearch fetches contents
url: 'https://vue-chartjs.org'
})
],
})