Skip to content

Commit aed49cb

Browse files
committed
fix(nuxt): allow client-side script to setupDOM
1 parent feedec0 commit aed49cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/nuxt/src/runtime/plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ export default defineNuxtPlugin((nuxtApp) => {
4242

4343
watch(() => nuxtApp._route.path, () => {
4444
client.generateSchema()
45+
client.setupDOM()
4546
})
4647
})

0 commit comments

Comments
 (0)