Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

[core] When using pinia-plugin-persistedstate, Pinia cannot hot reloadΒ #372

@Ena-Heleneto

Description

@Ena-Heleneto

Are you using Nuxt?

  • Check this box if you encountered the issue using Nuxt and the included module.

Describe the bug

I am using the Vue Vitesse template, and when I try to persist my store with pinia-plugin-persistedstate, it loses its hot reloading functionality. I'm not sure what is happening.

Reproduction

https://stackblitz.com/~/github.com/Ena-Heleneto/Ena-Pinia-Issue

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 2.68 GB / 15.80 GB
  Binaries:
    Node: 22.12.0 - ~\AppData\Local\Volta\tools\image\node\22.12.0\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\Volta\tools\image\yarn\1.22.19\bin\yarn.CMD
    npm: 10.9.0 - ~\AppData\Local\Volta\tools\image\node\22.12.0\npm.CMD
    pnpm: 9.15.0 - C:\Program Files\Volta\pnpm.EXE
  Browsers:
    Edge: Chromium (131.0.2903.112)
    Internet Explorer: 11.0.26100.1882

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions