Sharing states between stores #503
-
Vuex has rootState which gives access states to different store modules. Does pinia has something like that aswell? |
Beta Was this translation helpful? Give feedback.
Answered by
posva
May 20, 2021
Replies: 1 comment
-
it's |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's
pinia.state.value
when outside of stores.Otherwise https://pinia.esm.dev/cookbook/composing-stores.html