Closed kcleong closed 1 year ago
Check out this example with 'msg' prop from the web component https://stackblitz.com/edit/vue-web-component-wrapper-bja76q?file=demo-app-vite%2Fsrc%2FApp.vue,demo-app-vite%2Findex.html&startScript=vite-demo
@kcleong I'm closing this issue, as you can see in the example link, it does work with props
@EranGrin this issue has been solved since I've upgraded from version 1.0.5
to 1.1.1
.
When using this wrapper properties are not passed to the web component.
I've created an example project with a regular web component (using
defineCustomElement
) and one using this wrapper. For the regular component the properties are passed but using the wrapper no properties seem to be passed.Example project:
Output:
In the above screenshot I would expect
msg="Hello web component! #2"
to be passed toApp.ce.vue
, however no property is passed.