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