question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue Component vs Custom element

See original GitHub issue

Hi 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:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Meenakshisecommented, Apr 10, 2018

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 😃

1reaction
Meenakshisecommented, Apr 10, 2018

Thank you so much Karol for all the clarifications. Let me know the answer if you discover it later for the synchronous one.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found