Skip to content

feat: add warn to vue 2.7 #189

New issue

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

Merged
merged 1 commit into from
Aug 23, 2022
Merged

feat: add warn to vue 2.7 #189

merged 1 commit into from
Aug 23, 2022

Conversation

posva
Copy link
Collaborator

@posva posva commented Aug 23, 2022

Since @vue/composition-api and vue@3 have a warn method that conveniently shows the Component stacktrace in errors, I think it should also be added to Vue 2.7. It avoid import warnings like

@antfu antfu merged commit 10e307e into vueuse:main Aug 23, 2022
@antfu
Copy link
Member

antfu commented Aug 23, 2022

Would be great if you could add it in iife build as well. Thanks!

@posva posva mentioned this pull request Aug 23, 2022
@posva
Copy link
Collaborator Author

posva commented Aug 23, 2022

@antfu oops, I'm sorry, I didn't see that one! 😓
I opened #190

@posva posva deleted the warn-2.7 branch August 23, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants