Reputation: 571
I am starting with Web Components with Vuejs and have a basic question. Do we need to include the Vue js library in the host application for the Web Components to work or is it independent?
Upvotes: 3
Views: 341
Reputation: 10965
If you create a Native Web Component without any framework or dependencies then you can use them in Vue, React, Angular or just raw JavaScript.
If you create a Vue based Web Component then you need VUE to be able to run it anywhere. If your company switches to React then you will need to run Vue and React or convert your components to Native or to React.
Upvotes: 3