fix(search): detailed view not working when page contains script setup

closes #2485
pull/2488/head
Divyansh Singh 1 year ago
parent d62e6f6dd6
commit 80e734d677

@ -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 = () => {}

Loading…
Cancel
Save