A Lib use @vue/reactivity, not use in vue project #11857
Unanswered
CandyACE
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now I am writing a library. I have imported
@vue/reactivity
to achieve reactivity. Then, when using this library in a Vue project, listening to reactive variables is not feasible. The pseudo code is as follows:Library code
Code in the Vue project
The Count in the interface cannot be updated reactively.
Beta Was this translation helpful? Give feedback.
All reactions