Skip to content

Reset Pinia #2955

Closed Answered by posva
dzhiganov asked this question in Help and Questions
Mar 25, 2025 · 1 comment

You must be logged in to vote

You will need to dispose of all stores. Currently this is only doable through an internal pinia._s property.
It can also be implemented by collecting all store references in a pinia plugin (no need of an internal property 🙌)

Replies: 1 comment

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