Pinia referenced in Layout and content page simultaneously will crash #14649
Unanswered
yeechutngeow
asked this question in
General - Components / Directives / etc
Replies: 1 comment 2 replies
-
This doesn't seem like it should happen, but we'll need a code reproduction to take a closer look at the issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I just found out that if I try to reference a Pinia store in the Layout while the content page is also referencing the same store then the store won't work anymore.
The situation is a bit more complex and perplexing:
calls store action to save the user's credential.
$router.push('mycontent')
The failure happens in SignIn.vue. If I removes the reference to the Piana store in MainLayout.vue then everything works as expected.
Beta Was this translation helpful? Give feedback.
All reactions