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

CDN import: Component single tag <Comp.. /> parsing exception, DOM lost. #11073

Closed
warmthsea opened this issue Jun 5, 2024 · 3 comments
Closed

Comments

@warmthsea
Copy link

Vue version

3.4.27

Link to minimal reproduction

https://codepen.io/warmthsea/pen/bGyRbPP

Steps to reproduce

  1. Introducing multiple single-label components
  2. Only the last one is parsed, the rest of the DOM is lost

What is expected?

Single-label components normal use.

What is actually happening?

Only the last one is parsed, the rest of the DOM is lost.

element-plus/element-plus#17083

System Info

No response

Any additional comments?

No response

@jacekkarczmarczyk
Copy link
Contributor

It's how HTML works
whatwg/html#721

@warmthsea
Copy link
Author

sveltejs/svelte#11052

😱😱😱😱😱😱

@yyx990803
Copy link
Member

yyx990803 commented Jun 5, 2024

Yeah, this is how HTML works.

Also this is documented in the docs: https://vuejs.org/guide/essentials/component-basics.html#in-dom-template-parsing-caveats

@yyx990803 yyx990803 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants