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

bug: onMounted Called Without Active Component Instance #4491

Open
gustavosbarreto opened this issue Jan 14, 2025 · 0 comments
Open

bug: onMounted Called Without Active Component Instance #4491

gustavosbarreto opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@gustavosbarreto
Copy link
Member

The following warning is displayed:

[Vue warn]: onMounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.
@gustavosbarreto gustavosbarreto added the kind/bug Something isn't working label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants