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: failed to match the root v-scope node #13

Closed
wants to merge 2 commits into from
Closed

Conversation

xunmi1
Copy link

@xunmi1 xunmi1 commented Jul 5, 2021

createApp().mount('#app')

<div v-scope="{}">
  <div id="app">
    <div v-scope="{}" id="target">
       ...
    </div>
  </div>
</div>

Will not match the #target[v-scope] node.

@yyx990803
Copy link
Member

This is intended... the nested v-scope will be processed during the walk so only root v-scope needs to be matched.

@yyx990803 yyx990803 closed this Jul 5, 2021
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