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

"v-slot" abbreviated syntax for default slot does not observe components using is="component-name" #11296

Closed
ryaninvents opened this issue Apr 8, 2020 · 1 comment

Comments

@ryaninvents
Copy link

Version

2.6.10

Reproduction link

https://codesandbox.io/s/elated-sun-8npx9?file=/src/App.vue

Steps to reproduce

Error message displays immediately when viewing repro.

What is expected?

Vue should recognize that the given v-slot is attached to a component, because the element has the is="hello-world" attribute set.

What is actually happening?

Vue sees the v-slot attribute on a section element, and assumes it is an error.


Ordinarily I'd just rewrite my code to directly reference the component (without the is= attribute) but I'm rehydrating server-rendered content and need the wrapper to be semantic.

@posva
Copy link
Member

posva commented Apr 8, 2020

Duplicate of #10152

@posva posva marked this as a duplicate of #10152 Apr 8, 2020
@posva posva closed this as completed Apr 8, 2020
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

No branches or pull requests

2 participants