NuxtN
Nuxt13mo ago
Roder

Pinia Persistedstate with Composition API

I am trying to persist my pinia store state in my composition API store. I am not able to persist my state in the local storage with the composition API approach. When I use the old Options API for my store I am able to store my state inside the local storage. Has anyone else the same problem?

Packages:
@pinia/nuxt
@pinia-plugin-persistedstate/nuxt
image.png
image.png
Was this page helpful?