Only the last registered store shows in Vue Devtools #1885
Answered
by
xiki808
xiki808
asked this question in
Help and Questions
-
ReproductionSteps to reproduce the bug
Expected behaviorActual behaviorAdditional informationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
xiki808
Dec 22, 2022
Replies: 2 comments
-
@posva Isn't this a bug? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry my bad, the issue was that I was not returning the state variable, as instead I had a 'getter' function. Once I added the state variable to the store's return object, I could see the state in Vue Devtools. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xiki808
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry my bad, the issue was that I was not returning the state variable, as instead I had a 'getter' function. Once I added the state variable to the store's return object, I could see the state in Vue Devtools.