[nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables
.
#27235
Labels
Environment
"nuxt": "3.11.2"
Reproduction
https://stackblitz.com/edit/github-469cia-fcqpq7?file=plugins%2Ftest.ts
Describe the bug
I introduced a composables method in plugins, which simulates asynchronous requests, but after an asynchronous request, an error will be reported.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: