-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Description
Vue devtools version
6.4.5
Link to minimal reproduction
Steps to reproduce & screenshots
- open chrome devtool.
- get p element rendered by Child component and show its property.
p element has a __vueParentComponent in property when SSR is OFF, but it doesn't when SSR is ON.
What is expected?
can select component by clicking UI also when SSR is ON.
What is actually happening?
When I use Nuxt3, I can't use this feature in pages rendered in server side.
I tried SSR off in nuxt.config.ts, then I can select a component by clicking.
System Info
System:
OS: macOS 13.0
CPU: (10) arm64 Apple M1 Pro
Memory: 279.63 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.2.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.1.3 - /opt/homebrew/bin/npm
Browsers:
Chrome: 108.0.5359.124
Firefox: 108.0.1
Safari: 16.1Any additional comments?
I'm not sure, but I think Devtools can't traverse component tree because element does not have __vueParentComponent property in SSR.
app-backend-vue3/lib/components/el.js
function getComponentInstanceFromElement(element) {
return element.__vueParentComponent;
}Flashantik, niksy and aminimalanimal

