What problem does it solve?
This Skill addresses the complexity of managing shared application state in Vue projects by providing a structured, type-safe, and reactive store architecture that eliminates the pitfalls of manual state synchronization.
Core Features & Use Cases
- Setup Stores: Leverage the Composition API for flexible, logic-rich state management.
- Plugin System: Extend store functionality with custom properties, logging, or persistence layers.
- SSR Support: Seamlessly handle state hydration and serialization for server-side rendered applications.
- Use Case: Use this Skill to implement a centralized authentication store that persists user sessions across components and handles complex async login/logout actions.
Quick Start
Use the pinia skill to define a new setup store for managing user authentication state.