Vue Component vs Custom element
See original GitHub issueHi Karol,
I just have a question. When you create a Vue component we are actually using them as a html tag only in the vue files like below
<SampleComponent1></SampleComponent1>
Vue internally treats them as a custom element right.
So how is that different from your vue-custom-element. I am little confused here. Can you please help me to understand.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Vue and Web Components
A Vue custom element will mount an internal Vue component instance inside its shadow root when the element's connectedCallback is called for the...
Read more >Vue Components as Custom Elements - Máximo Mussini
Custom elements defined using the Vue API always use a shadow DOM, so they are isolated from the parent document and any global...
Read more >Using Custom Elements in Vue.js - bitspeicher.blog
Custom Elements are part of the Web Component specification and allow the use of custom HTML tags. After defining them, they are used...
Read more >vue-custom-element - npm
Vue-custom-element is a tiny wrapper around Vue components. It provides a seamless way to use Vue components in HTML, plain JavaScript, Vue, ...
Read more >Building Web Components with Vue 3.2 - This Dot Labs
Vue 3.2 includes built-in support for defining custom Web Components while utilzing the Vue API. In this way, we get the best of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot for the clarification Karol. You answer everyone’s question with lots of patience. Really you are an inspiration for many of us 😃
Thank you so much Karol for all the clarifications. Let me know the answer if you discover it later for the synchronous one.