Skip to content

Error when Calling store from App.vue with a composable - Error: [🍍]: getActivePinia was called with no active Pinia ? #842

Discussion options

You must be logged in to vote

You must put it in the composable (or setup function) not inside of the logout function.
There is a using outside of component section ok the docs that explain this 🙂

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yann-yinn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants