Skip to content

Breaking change causing pinia devtools to stop working with 3.16 #823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
leon-marzahn opened this issue Mar 19, 2025 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@leon-marzahn
Copy link

Environment

Any

Reproduction

https://stackblitz.com/edit/nuxt-pinia-issue-3-16

  1. Open devtools
  2. Click on the pinia tab
  3. Pinia is empty even though there is a store registered

Describe the bug

As also posted on: #822

The 3.16 release has introduced an undocumented breaking change for pinia in the way that the devtools are registered. The main issue is that the devtools are registered after the pinia plugin is loaded and this causes them to not work at all.

What's the best way to resolve this in pinia to make the pinia devtools for nuxt work again?

Additional context

No response

Logs

Copy link

stackblitz bot commented Mar 19, 2025

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@danielroe danielroe transferred this issue from nuxt/nuxt Mar 19, 2025
@marcos-jesus
Copy link

marcos-jesus commented Mar 19, 2025

I too have this problem with Nuxt Devtools with
"pinia": "^3.0.1",
"@pinia/nuxt": "^0.10.1",
"nuxt": "^3.16.0",

@martinszeltins
Copy link

Pinia tab broken for me too in 3.16.1

Image

@YogeshwarHz

This comment has been minimized.

1 similar comment
@cheerfox

This comment has been minimized.

@TheAlexLichter TheAlexLichter added the bug Something isn't working label Mar 24, 2025
@antfu antfu closed this as completed in 259853b Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants