Reset Pinia #2955
Unanswered
dzhiganov
asked this question in
Help and Questions
Reset Pinia
#2955
Replies: 1 comment
-
You will need to dispose of all stores. Currently this is only doable through an internal pinia._s property. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
In short: can we reset the Pinia repo completely?
I know that we can remove all data from the Pinia store, e.g. reset to initial values. But can we reinitiate the
defineStore
function after that, e.g. execute it again?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions