diff --git a/README.md b/README.md index 122c1a0..c40606c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,12 @@ If you're looking for v1 check this [branch](https://github.com/apertureless/vue Simply run `yarn add vue-chartjs chart.js` -Or if you want to use it directly in the browser add `https://unpkg.com/vue-chartjs@2.6.0/dist/vue-chartjs.full.min.js` to your scripts. See [Codepen](https://codepen.io/apertureless/pen/vxWbqB?editors=1010) +Or if you want to use it directly in the browser add + +```html + +``` +to your scripts. See [Codepen](https://codepen.io/apertureless/pen/vxWbqB?editors=1010) ## Explanation of Different Builds There are three different entry points. It depends on which build setup do you have. The dependencies are bundled or required as a peerDependency. diff --git a/docs/config.js b/docs/config.js index 9e1d4cf..e9bb94e 100644 --- a/docs/config.js +++ b/docs/config.js @@ -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' + }) ], }) diff --git a/docs/de/README.md b/docs/de/README.md index 3448630..07da64b 100644 --- a/docs/de/README.md +++ b/docs/de/README.md @@ -1,5 +1,5 @@ --- -search: deutsch +search: de --- # vue-chartjs diff --git a/docs/index.html b/docs/index.html index 92e6486..f0d5b64 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,6 +12,7 @@
+