When you are using the built-in Composition API composables provided by Vue and Nuxt, be aware that many of them rely on being called in the right context.ĭuring a component lifecycle, Vue tracks the temporary instance of the current component (and similarly, Nuxt tracks a temporary instance of nuxtApp) via a global variable, and then unsets it in same tick.