We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177361a commit 9e27bceCopy full SHA for 9e27bce
ecosystem/plugin-docsearch/src/client/components/Docsearch.ts
@@ -8,6 +8,7 @@ import { useDocsearchShim } from '../composables/index.js'
8
9
declare const __DOCSEARCH_INJECT_STYLES__: boolean
10
declare const __DOCSEARCH_OPTIONS__: DocsearchOptions
11
+const options = __DOCSEARCH_OPTIONS__
12
13
if (__DOCSEARCH_INJECT_STYLES__) {
14
import('@docsearch/css')
@@ -26,7 +27,7 @@ export const Docsearch = defineComponent({
26
27
options: {
28
type: Object as PropType<DocsearchOptions>,
29
required: false,
- default: () => __DOCSEARCH_OPTIONS__,
30
+ default: () => options,
31
},
32
33
0 commit comments