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-bind (3.4) shorthand not working on <Component /> #10469

Closed
roydukkey opened this issue Mar 6, 2024 · 0 comments
Closed

v-bind (3.4) shorthand not working on <Component /> #10469

roydukkey opened this issue Mar 6, 2024 · 0 comments
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: sfc

Comments

@roydukkey
Copy link

Vue version

3.4

Link to minimal reproduction

https://play.vuejs.org/#eNp9Ustu2zAQ/JUtL0qA1ELTnlzFQFsEaHtog7ZAL7wI8kpmQi0JcuUYUPTvWdKxYuR1sbUzs0/OqL54v9gOqJaqik0wniEiD36lyfTeBYYRArYwQRtcD4VIi5n65nr/gC/KFKRKxWdNmhpHkaGPHVyk/JPiO1rr4L8Ldv2uONVUlft20kgCxt7bmlEigGrzYTWOOXmaqlKijOZuJl5otTnX6liRmKca/5rEkB8Ytu97t0YrQlFoBaWQVXk0hjpTHGWL1nSL6+hIDjSmfK0aKWUsht+ejWyp1RIyk7halrz9mTEOA54d8GaDzc0L+HXcJUyrq4ARwxa1mjmuQ4e8py///sKdfM+kTD9YUb9B/sHo7JBm3Mu+DrSWsY90edof+S0Ndf/i5Y6R4mGpNGhSTlmvlbxtuuJrqz+O+3HxKedpmuSKB18cOczW1MnlWQrMbtOEu2wqQ4yhrRuEq+B83DcwcQnF5ryAOyh8cpgU17TG1hBmWZV/Vyen2X1vmSs9nyMkhqWJGRIwWscryUp/skzSlbPwmTWmez3YErQ=

Steps to reproduce

Just use the v-bind shorthand to bind the is property: <component :is>.

What is expected?

Should function the same as <component :is="is">.

What is actually happening?

Warning is produced:

Failed to resolve component: component
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
 at <Compis="p">
 at <Repl>

System Info

n/a; Playground

Any additional comments?

No response

@sodatea sodatea added 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: sfc labels Mar 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: sfc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants