I would expect that the vue renderer continues working at least so users can continue using devtools while adding TresJS and 3D to their projects.
Since is probably because the dev tools were not conceived for renderers outside the DOM context (ThreeJS scene objects in this case) I'm not expecting it shows the TresJS components but at least it doesn't break the vue wrapper devtools (App1)
What is actually happening?
When backend.api.getComponentRootElements(rootInstance); is called for the second instance (TresApp), there are no DOM root elements, so el is undefined making the el.ownerDocument condition break.
Vue devtools version
6.5.0
Link to minimal reproduction
https://stackblitzstarterssa3ruk-5dvj--5173--77657b1e.local-credentialless.webcontainer.io/
Steps to reproduce & screenshots
Open the link
Open devtools
See error on console.
What is expected?
I would expect that the vue renderer continues working at least so users can continue using devtools while adding TresJS and 3D to their projects.
Since is probably because the dev tools were not conceived for renderers outside the DOM context (ThreeJS scene objects in this case) I'm not expecting it shows the TresJS components but at least it doesn't break the vue wrapper devtools (App1)
What is actually happening?
When
backend.api.getComponentRootElements(rootInstance);
is called for the second instance (TresApp), there are no DOM root elements, soel
is undefined making theel.ownerDocument
condition break.System Info