Open m-mohr opened 3 years ago
Workaround, for now, is to register the web component name as a normal component and use the web component name in the templates. See commit https://github.com/Open-EO/openeo-vue-components/commit/9617cefefe0edf262267a486e1b73ea7a1858043 for two examples.
Version
4.5.10
Reproduction link
https://github.com/m-mohr/vue-recursive-web-components-repro
Environment info
Steps to reproduce
Run
npm run build
and open the file dist/demo.html -> It shows the incorrect behavior:(it seems sometimes it also shows "Hello" instead of "World")
Run
npm run serve
and open the browser -> It shows the correct behavior:What is expected?
I expect that recursive use of components also works in web components, see "steps to reproduce" for details.
What is actually happening?
The component used recursively is only shown once. Including other components (QuitWorld) works though.