Skip to content
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

fix: Root instance not found when using with Vue 2.7 #1379

Merged
merged 3 commits into from
Jul 18, 2022

Conversation

marcel-engelke
Copy link
Contributor

This fixes the issue described in issue 1337 when using Vue 2.7.

I added a fallback to vm.proxy.$root in case vm.root is not defined. If it is, however, this patch won't break anything.

closes #1377

@marcel-engelke marcel-engelke changed the title Fix for Root instance not found when using with Vue 2.7 fix: Root instance not found when using with Vue 2.7 Jul 11, 2022
@Akryum Akryum merged commit cb0ab57 into vuejs:v4 Jul 18, 2022
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.

Root instance not found when using with Vue 2.7
2 participants