I am trying to implement Jovo’s Vue Chat Widget into our React website. However, I am getting an error from the Vue CLI whenever I try to build the vue components as web components to be imported into my React app.
Has anyone been able to use Jovo’s Web Components in ReactJS?
Does anyone have advice on:
- How to build Jovo’s Vue components as Web Components using Vue CLI?
- How to build Jovo’s Web Components into React?
I have tried using Vue component as a Web Component in React.
I generate the Web Component for the ChatWidget.vue
component like this:
vue build --target wc --name Chat-Widget src/components/ChatWidget.vue
My console outputs the following error:
You may need an additional loader to handle the result of these loaders.
Does anyone have advice on:
- How to build Jovo’s Vue components as Web Components using Vue CLI?
- How to build Jovo’s Web Components into React?