Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

fix(server): extend component correctly if at root #1105

Merged
merged 5 commits into from
Jan 31, 2022
Merged

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jan 31, 2022

Essentially the problem is that $vnode is usually available, but not when the this is a root Vue instance. In that case we are in the "Vue.component" case, which before now always was wrong (it takes two arguments, not one)

Same as #1104
see also #1054

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 31, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Essentially the problem is that $vnode is usually available, but not when the this is a root Vue instance. In that case we are in the "Vue.component" case, which before now always was wrong (it takes two arguments, not one)

Same as #1104
see also #1054
@Haroenv Haroenv marked this pull request as ready for review January 31, 2022 14:58
@Haroenv Haroenv requested review from sarahdayan, a team and dhayab and removed request for a team January 31, 2022 15:00
Co-authored-by: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants