Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue:setup hook #12828

Closed
pi0 opened this issue Nov 22, 2021 · 0 comments · Fixed by nuxt/framework#2408
Closed

vue:setup hook #12828

pi0 opened this issue Nov 22, 2021 · 0 comments · Fixed by nuxt/framework#2408

Comments

@pi0
Copy link
Member

pi0 commented Nov 22, 2021

As a replacement of onGlobalSetup (#1017) we shall support a new hook for nuxtApp:

useNuxtApp().hook('vue:setup', () => { })

For nuxt 3, this hook can be called on nuxt-root component. /cc @danielroe for ideas re supporting bridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants