Skip to content

Commit

Permalink
fix(nuxt): allow client-side script to setupDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Aug 16, 2022
1 parent feedec0 commit aed49cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nuxt/src/runtime/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ export default defineNuxtPlugin((nuxtApp) => {

watch(() => nuxtApp._route.path, () => {
client.generateSchema()
client.setupDOM()
})
})

0 comments on commit aed49cb

Please sign in to comment.