mapStores returns undefined on vue2 #999
Unanswered
Archer-Thane
asked this question in
Help and Questions
Replies: 1 comment 1 reply
-
I suggested that file's name same as store name. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hey there. I want to use pinia along side vue 2 and options api.



So I followed the instructions and do this:
and then make a file for the store putting logic there:
finally call it inside my component using ...mapStores
but then it returns me undefined. can any one help? thanks alot
Beta Was this translation helpful? Give feedback.
All reactions