We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've noticed an issue with the Vue Composition API when used inside of a third party library.
The Vue Composition API throws an error when a component library (using the composition api) attempts to use one of the API methods (e.g. ref()).
ref()
[Vue warn]: Error in data(): "Error: [vue-composition-api] must call Vue.use(plugin) before using any function."
The consumer of the package using the Vue Composition API has already called Vue.use(CompositionAPI).
Vue.use(CompositionAPI)
I've set up a reproduction of the issue below which should hopefully details the issue: https://github.com/willtpwise/vue-comp-package
Related to:
vue-function-api
The text was updated successfully, but these errors were encountered:
This is the same problem as with linked packages (#228). The lib is using a copy of the library and it doesn't work
Sorry, something went wrong.
Thanks Posva. #228 helped solve the problem 👍
No branches or pull requests
I've noticed an issue with the Vue Composition API when used inside of a third party library.
The Vue Composition API throws an error when a component library (using the composition api) attempts to use one of the API methods (e.g.
ref()
).[Vue warn]: Error in data(): "Error: [vue-composition-api] must call Vue.use(plugin) before using any function."
The consumer of the package using the Vue Composition API has already called
Vue.use(CompositionAPI)
.I've set up a reproduction of the issue below which should hopefully details the issue:
https://github.com/willtpwise/vue-comp-package
Related to:
vue-function-api
#61The text was updated successfully, but these errors were encountered: