devtools icon indicating copy to clipboard operation
devtools copied to clipboard

fix: Pinia Tab no data since 2.5.0+

Open saschafuchs opened this issue 4 months ago • 13 comments

🐛 The bug

Tested with Chrome, Chrome Privacy Tab also with Firefox. Since 2.5.0 the Pinia Tab allways show no Data. There is also no Vue Devtools as a browser plugin We use the current Nuxt 3.17.6 version with features flags for the App Folder.

Up to version 2.5.0. of the DevTools we had no problems with the Pinia Tab.

🛠️ To reproduce

no needed

🌈 Expected behavior

That the Pinia Tab shows the data, at least after a reload of the browser.

ℹ️ Additional context

No response

saschafuchs avatar Jul 03 '25 11:07 saschafuchs

I encountered the same issue and found two workarounds that resolve the issue:

1 - Using Vue.js Devtools Extension:

  • Install the Vue.js Devtools extension.
  • Open the page and press F12 to open dev tools.
  • In the Vue tab, under Components, explicitly select App 3. This triggers the Pinia tab to load and populate data correctly both in the extension and in Nuxt Devtools.
Image

2 - Disabling Nuxt Devtools:

  • Disable Nuxt Devtools, using only the Vue.js Devtools extension, which directly loads and populates data as expected.

Both solutions worked for me

gabrielws avatar Jul 09 '25 18:07 gabrielws

  • In the Vue tab, under Components, explicitly select App 3. This triggers the Pinia tab to load and populate data correctly both in the extension and in Nuxt Devtools.

Thanks for this tip. Do you know if there is a way to keep this selected to App 3, upon browser refresh?

SherwinDeveloper avatar Jul 16 '25 18:07 SherwinDeveloper

  • In the Vue tab, under Components, explicitly select App 3. This triggers the Pinia tab to load and populate data correctly both in the extension and in Nuxt Devtools.

Thanks for this tip. Do you know if there is a way to keep this selected to App 3, upon browser refresh?

Unfortunately I don't know how to do this, what I do is keep nuxt devtools disabled and only use the Vue.js Devtools extension, this was the most usable way for me.

gabrielws avatar Jul 17 '25 15:07 gabrielws

  • In the Vue tab, under Components, explicitly select App 3. This triggers the Pinia tab to load and populate data correctly both in the extension and in Nuxt Devtools.

Thanks for this tip. Do you know if there is a way to keep this selected to App 3, upon browser refresh?

Unfortunately I don't know how to do this, what I do is keep nuxt devtools disabled and only use the Vue.js Devtools extension, this was the most usable way for me.

You can go in the "Render Tree" and select the App 3 option it will load the store, you can also disable the cache in the network tab of your browser dev tools, that will make it so the pinia store load everytime in the nuxt dev tools, no need for the extension

nino-mau avatar Jul 26 '25 22:07 nino-mau

@nino-mau said it. I don't know if its a "bug" or not, but you have to select App 3 and then all the stores will be shown

Image Image

VueElement selected:

Image Image

stivenblandoncodepyme avatar Sep 09 '25 14:09 stivenblandoncodepyme

Every time after a reload or rebuild, you have to go to the render tree and then switch to App to see the Pinia Store. Incidentally, I don't have any Vue Devtools in my browser, and caching is also disabled.

Why does DevTools connect to one of the VueElements every time and not directly to the app? One of the VueElements is the Devtools Panel. That is one of the main problems.

saschafuchs avatar Sep 17 '25 03:09 saschafuchs

I just encountered this issue when updating Nuxt to v4. The Render Tree -> App 3 workaround does work, but having to go back through that workflow every time I refresh the page isn't a great DX.

harlio avatar Sep 18 '25 15:09 harlio

I am also experiencing this issue with latest Nuxt 3.x. It seems to be related to using async middleware and/or plugins.

westhom avatar Oct 08 '25 03:10 westhom

Same issue for me any update ?

LePtiDev avatar Oct 31 '25 16:10 LePtiDev

I found a solution. I force the version of the nuxt devtools in my dev dependencies: "@nuxt/devtools": "^3.0.1", it's work for me.

LePtiDev avatar Nov 03 '25 10:11 LePtiDev

Still having the issue... with all latest versions @LePtiDev what nuxt version do you use? and what pinia version do you use?

Korny666 avatar Nov 07 '25 09:11 Korny666

Would you check if it's still an issue in v3.1.0?

antfu avatar Nov 08 '25 06:11 antfu

Hello @Korny666 for me i have this version:

  • "pinia": "^3.0.3",
  • "nuxt": "^4.2.0",
  • "@pinia/nuxt": "^0.11.2",
  • "@nuxt/devtools": "^3.0.1",

hope that help you.

@antfu you need to force the nuxt/devtools version to the last to make it works with pinia. If you use a fresh new project without installing the devtools the pinia tab is not working

LePtiDev avatar Nov 14 '25 09:11 LePtiDev