Skip to content

pinia-plugin-persistedstate v2

Configurable persistence and rehydration of Pinia stores.

pinia-plugin-persistedstate v2

Friendly API

Use a simple and familiar API inspired by vuex-persistedstate adapted for Pinia.

Highly customizable

Custom storage, custom serializer, paths picking and other options per-store.

Usable everywhere

Compatible with Vue 2 and 3, Nuxt (SSR), and everything that can use Pinia.

Released under the MIT License.