vue-pinia-best-practices
587
总安装量
592
周安装量
#504
全站排名
安装命令
npx skills add https://github.com/hyf0/vue-skills --skill vue-pinia-best-practices
Agent 安装分布
cursor
336
claude-code
314
opencode
309
gemini-cli
296
codex
259
trae
259
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