Docsearch
Pass docsearch
to theme default to add a Docsearch on navbar
docsearch
contain these main props: appId
, apiKey
,indexName
Complete options can be found here
All provided by Docsearch.
vite.config.(js|ts)
import { } from 'vite'
import { } from '@sveltepress/vite'
import { } from '@sveltepress/theme-default'
export default ({
: [
({
: ({
: {
: 'XXX',
: 'XXX',
: 'XXX',
}
})
})
]
})
ts