Skip to content

Commit

Permalink
fix(search): detailed view not working when page contains script setup
Browse files Browse the repository at this point in the history
closes #2485
  • Loading branch information
brc-dd committed Jun 7, 2023
1 parent d62e6f6 commit 80e734d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/components/VPLocalSearchBox.vue
Expand Up @@ -159,7 +159,7 @@ debouncedWatch(
map = new Map()
c.set(mapId, map)
const comp = mod.default ?? mod
if (comp?.render) {
if (comp?.render || comp?.setup) {
const app = createApp(comp)
// Silence warnings about missing components
app.config.warnHandler = () => {}
Expand Down

0 comments on commit 80e734d

Please sign in to comment.