Skip to content
P

pinia

Intuitive, type safe, light and flexible Store for Vue

by posvaOpen source

#168in UI Libraries
0In stores

Description

Pinia is a store library for Vue that is intuitive, type safe, light and flexible. It uses the Composition API, and it has DevTools support…

Highlights

  • Type-safe stores for Vue
  • Composition API stores
  • DevTools support
  • Modular stores in separate files
  • Nuxt module
  • MIT licensed

Ratings & Reviews

No ratings yet

Be the first to rate pinia.

People also visit

P

pinia

Type-safe Vue state management

AI Skills
Get
P

pinia-orm

The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store

UI Libraries
Launch
V

vue-pinia-best-practices

Pinia stores, state management patterns, store setup, and reactivity with stores

AI Skills
Get
N

Nuxt.js

Versatile Vue.js Framework

UI Libraries
Launch
V

vue-patterns

Vue.js 3 Composition API patterns, component architecture

AI Skills
Get
S

Stan

a minimal, atomic state manager (framework-agnostic, with Vue bindings)

UI Libraries
Launch

pinia FAQ

What is Pinia?

A store library for Vue that uses the Composition API, with type safety, DevTools support and a small footprint.

Is Pinia the successor to Vuex?

Yes. The FAQ answers yes to that question.

Does it work with Vue 2?

The current version works with Vue 3. A v2 branch of the repository supports Vue 2.

Does it work with Nuxt?

Yes. Pinia ships as a Nuxt module, and the README links a Nuxt 3 demo on StackBlitz.

What about dynamic modules?

The FAQ says dynamic modules are not type safe, so Pinia asks you to create separate stores that you can import anywhere.

Is it free?

Yes. Pinia is MIT licensed.

What are the best pinia alternatives?

Popular alternatives to pinia include pinia-orm, Nuxt.js and Stan. See all pinia alternatives

Developer Stuff

Badges