How to use in a single component, without "Vue.use(PiniaVuePlugin)" in Global #1173
Unanswered
z008hy
asked this question in
Help and Questions
Replies: 1 comment 1 reply
-
In short, you can't. The user of your library must install the pinia plugin themselves. I would say that you shouldn't use a store for this and just use ref + reactive + computed + functions. |
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.
-
I use with vue2 and '@vue/composition-api'.
I'm just developing a complex component that has a lot of data that I want to manage with Pinia.
So I can't mount it on the global vue. Is there any way to solve this problem。
My development environment is.
Big Thanks
Beta Was this translation helpful? Give feedback.
All reactions