vue2.7 + pinia , state is not reactive #2647
-
I init state in store.js, code is here // store.ts
// Index.vue
My writing method is based on the example given on the official website, but it still doesn't work, and it keeps reminding me that the incoming state is not reactive. Does pinia really support vue2.7? Can you give me the correct opinion, please |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 15, 2024
Replies: 1 comment 5 replies
-
Here is a working repository https://github.com/piniajs/example-vue-2-vite |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a working repository https://github.com/piniajs/example-vue-2-vite