Problem with setting values in store when using Composition API setup. #2057
-
Reproductionhttps://stackblitz.com/edit/nuxt-starter-efm7cs?file=app.vue Steps to reproduce the bug
Expected behavior
Actual behavior
Additional informationpackage.json
nuxt.config.ts
stores/CountStore.js
app.vue
|
Beta Was this translation helpful? Give feedback.
Answered by
posva
Mar 6, 2023
Replies: 1 comment 1 reply
-
It's increment on the server and then on the clientt. That's why you see 2. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's increment on the server and then on the clientt. That's why you see 2.