Skip to content

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