Pinia with nuxt 3 srr #11460
Unanswered
ulandu
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to initialize a variable I have in store, in this case for example a counter, starting at 0 and when I load the page add 1 to it:
the problem is that it executes it twice and gives me a hydratacion error, is there a way to call the function without it being done twice without using mounted or beforemounted?
thanks :)
Beta Was this translation helpful? Give feedback.
All reactions