-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Closed
Copy link
Labels
bugcontribution welcomegood first issuehas PRwarningsrelated to development warningsrelated to development warnings
Description
Version
2.6.10
Reproduction link
https://jsfiddle.net/mybeta/1dfwsazn/
Steps to reproduce
When I use DOM Template Parsing Caveats to add a component (e.g. <tr is="custom-row">
) I can't use scoped slots (slotProps) without receiving a warning in the console. I would like to use it this way:
<tr is="custom-row" v-slot="slotProps">
slotProps: {{slotProps.test}}
</tr>
What is expected?
No warning.
What is actually happening?
I get the following warning in the console.
[Vue warn]: Error compiling template: v-slot can only be used on components or <template>.
The rest looks like it works as expected.
amadeann
Metadata
Metadata
Assignees
Labels
bugcontribution welcomegood first issuehas PRwarningsrelated to development warningsrelated to development warnings