devtools icon indicating copy to clipboard operation
devtools copied to clipboard

fix: Component tree not loading in popup

Open TechAkayy opened this issue 1 year ago â€ĸ 7 comments

🐛 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

  • Browser - Chrome Version 126.0.6478.114 (Official Build) (arm64)
  • Operating System: Darwin
  • Node Version: v20.14.0
  • Nuxt Version: 3.12.3
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, modules
  • Runtime Modules: -
  • Build Modules: -

đŸ› ī¸ 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

TechAkayy avatar Jul 04 '24 03:07 TechAkayy

It also doesn't work with Pinia. using the lastest version of nuxt and devtools.

Image

fmoessle avatar Oct 25 '24 13:10 fmoessle

Can confirm, having the same issue.

Flamenate avatar Nov 19 '24 21:11 Flamenate

Same here

erikahumadakandc avatar Nov 27 '24 22:11 erikahumadakandc

@danielroe @antfu could you please take a look this issue?

same issue facing this week, nuxt version: 3.14.1592, and pinia version: 0.8.0 Image

and this overview of NuxtDevtools Image

both of Component tree and Pinia didn't work Image

barayuda avatar Dec 04 '24 11:12 barayuda

Update, on my side, I just remove "Vue Devtools extension" from my browser (or might be update to latest one, I'm not testing yet) And worked perfectly, found the solution from here: #724 The other note from me it was, "If the Vue Devtools Extension" still exists on our browser, this make our Nuxt 3 project start very slow and annoying not found route "/" when open my project at the browser.

This PR here explain more about details regarding this issue.

So, please folks to consider remove the vuedevtools (or update to latest once) before start to develop your Nuxt 3 web app. Hopefully help others 🎉

here preview that pinia and component tree now working.

Image

Image

barayuda avatar Dec 05 '24 15:12 barayuda

Update, on my side, I just remove "Vue Devtools extension" from my browser (or might be update to latest one, I'm not testing yet) And worked perfectly, found the solution from here: #724 The other note from me it was, "If the Vue Devtools Extension" still exists on our browser, this make our Nuxt 3 project start very slow and annoying not found route "/" when open my project at the browser.

This PR here explain more about details regarding this issue.

So, please folks to consider remove the vuedevtools (or update to latest once) before start to develop your Nuxt 3 web app. Hopefully help others 🎉

I have this issue, without having Vue devtool extension enabled. I use Nuxt v3.15.2.

MSKhodadady avatar Jan 16 '25 12:01 MSKhodadady