Skip to content

Conversation

@Tia-ani
Copy link

@Tia-ani Tia-ani commented Nov 9, 2025

  • This PR improves the developer warning message in inject() when used outside setup() or functional components.

Before:

inject() can only be used inside setup() or functional components.

After:

inject("userStore") can only be used inside setup() or functional components.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant