/ core Public
Web Component without props definitions breaks when passed custom attribute like
feat: custom elements
Something isn't working
Link to minimal reproduction
Steps to reproduce
In The web component element generated after the definecustomelement is defined in the Vue file;
If the style tag in the Vue file contains the scoped attribute, the web component element will fail to resolve.
Error: runtime dom esm-bundler. js:547 Uncaught TypeError: Cannot read properties of undefined (reading 'dataV671062ce')。
After removing the scoped attribute of the style tag in the Vue file, the web component is successfully parsed.
App.vue is an example of successful parsing, hasscoped.vue file is an example of parsing failure.
What is expected?
The scoped style tag in the Vue file does not affect the use of web component properties
What is actually happening?
The scoped style tag in the Vue file affects the use of webcomponent properties
Any additional comments?
The text was updated successfully, but these errors were encountered: