3

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?

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks that clarifies, yes I was referring to VUE based Web Components only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.