nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.79k stars 154 forks source link

fix: Component tree not loading in popup #690

Open TechAkayy opened 6 days ago

TechAkayy commented 6 days ago

🐛 The bug

Component tree loads just fine when it's in-app, and doesn't load in the popup picture-in-picture mode, probably losing connection with the app.

Popup doesn't work in stackblitz due to a limitation explained in this issue https://github.com/nuxt/devtools/issues/687, so below reproduction is a github for cloning and testing it in local dev environment.

In-app:

image

Popup:

image

🛠ī¸ To reproduce

https://github.com/TechAkayy/nuxt-devtools-popup

🌈 Expected behavior

Popup should connect to the app and load component tree.

ℹī¸ Additional context

No response