Frontend 627 installs

pinia

by antfu/skills

Pinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store…

Skill content

Type-safe Vue state management with intuitive store patterns and first-class TypeScript support.

- Supports both Options API and Composition API styles, with built-in devtools integration for debugging

- Core capabilities include defining stores with state, getters, actions, subscriptions, and store-to-store composition

- Extensible via plugins to add custom properties and behavior across stores

- Includes testing utilities via @pinia/testing for mocking and stubbing, plus SSR and Nuxt integration with state hydration

- Hot module replacement support for seamless development workflow

Pinia

Pinia is the official state management library for Vue, designed to be intuitive and type-safe. It supports both Options API and Composition API styles, with first-class TypeScript support and devtools integration.

The skill is based on Pinia v3.0.4, generated at 2026-01-28.

Core References

Topic
Description
Reference

Stores
Defining stores, state, getters, actions, storeToRefs, subscriptions
core-stores

Features

Extensibility

Topic
Description
Reference

Plugins
Extend stores with custom properties, state, and behavior
features-plugins