I'm trying to integrate a stencil.js component with an existing Vue 1.x project. I've done the same thing in a Vue 2.x project and ingoredElements config. Is there an equivalent to such thing in Vue 1.x or is the integration done differently?
(I read this documentation Vue 1.x is missing, maybe it's not possible?)
The stencil package is stored in a private registry and it is not ideal to serve it by adding it into the index.html
As of now, I'm unable to see my component and the following warning is outputted to the console.
Unknown custom element: <test-component> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
from StencilJS component on Vue 1.x project
No comments:
Post a Comment