Subscribe on changes!

use webcomponent with vue3.2, when I add class to customelement, I get an error

avatar
Apr 7th 2022

Version

3.2.31

Reproduction link

sfc.vuejs.org/

image

Steps to reproduce

refer to minimal reproduction

What is expected?

custom elements created by defineCustomElement support class name and id

What is actually happening?

custom elements created by defineCustomElement don't support class name and id

avatar
Apr 7th 2022

as a workaround, add props: [] in Test.ce.vue

avatar
Apr 7th 2022

Duplicate: #5280, solved after #5281 is merged and published