Enable search

pull/6011/head
Cagatay Civici 2024-07-02 16:04:39 +03:00
parent 10023e66e3
commit d91fd76fc0
1 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@
</div>
<ul class="topbar-items">
<li v-if="false">
<li>
<div id="docsearch"></div>
</li>
<li>
@ -128,7 +128,7 @@
<script>
import AppConfigurator from '@/layouts/AppConfigurator';
import EventBus from '@/layouts/AppEventBus';
//import docsearch from '@docsearch/js';
import docsearch from '@docsearch/js';
export default {
emits: ['menubutton-click'],
@ -162,7 +162,7 @@ export default {
mounted() {
this.bindScrollListener();
/*docsearch({
docsearch({
container: '#docsearch',
appId: '01CMUF4W4R',
indexName: 'primevue',
@ -183,7 +183,7 @@ export default {
return item;
});
}
});*/
});
},
beforeUnmount() {
if (this.scrollListener) {