vue-pinia-best-practices
1.7K
总安装量
1.7K
周安装量
#199
全站排名
安装命令
npx skills add https://github.com/vuejs-ai/skills --skill vue-pinia-best-practices
Agent 安装分布
opencode
1.0K
codex
984
claude-code
926
gemini-cli
916
github-copilot
830
cursor
671
Skill 文档
Pinia best practices, common gotchas, and state management patterns.
Store Setup
- Getting “getActivePinia was called” error at startup â See pinia-no-active-pinia-error
- Setup stores missing state in DevTools or SSR â See pinia-setup-store-return-all-state
Reactivity
- Store destructuring stops updating UI reactively â See pinia-store-destructuring-breaks-reactivity
- Store methods lose context in template calls â See store-method-binding-parentheses
State Patterns
- Filters reset on refresh or can’t be shared â See state-url-for-ephemeral-filters
- Building production app without DevTools or conventions â See state-use-pinia-for-large-apps