how to set pinia as a global store or how to set $store as pinia and not vueX #1497
Unanswered
ezur1
asked this question in
Help and Questions
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
The approach I've taken is to expose the store in a global property in
I'd be interested to know if there are any drawbacks to this? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
so im trying to set pinia accessible in all pages and components and get rid of importing pinia store very time.
looked everywhere but i couldn't find a solution.
please help.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions