getActivePinia was called with no active Pinia.Did you forget to install pinia? #1323
Answered
by
posva
Linhongbin-1111
asked this question in
Help and Questions
-
I got this error when i using useStore() in the router. Following the official website example, I used store in router.beforeEach(), but the problem has not been solved. |
Beta Was this translation helpful? Give feedback.
Answered by
posva
May 27, 2022
Replies: 1 comment 1 reply
-
are you installing the pinia plugin before the router? app.use(pinia).use(router) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Linhongbin-1111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
are you installing the pinia plugin before the router?