vue-pinia-best-practices
Pinia stores, state management patterns, store setup, and reactivity with stores.
- License 许可
- MIT
- 最近更新
- 2026-10-23
- Stars
- ★ 45
- Forks
- 12
01 前言 Front Matter
- name
- vue-pinia-best-practices
- author
- github.com/vuejs-ai
- license
- MIT
- version
- 1.0.0
- description
- Pinia stores, state management patterns, store setup, and reactivity with stores.
02 资源文件 6
- 参考文档reference/pinia-no-active-pinia-error.md6.3 KB
- 参考文档reference/pinia-setup-store-return-all-state.md5.8 KB
- 参考文档reference/pinia-store-destructuring-breaks-reactivity.md5.1 KB
- 参考文档reference/state-url-for-ephemeral-filters.md7.1 KB
- 参考文档reference/state-use-pinia-for-large-apps.md6.2 KB
- 参考文档reference/store-method-binding-parentheses.md5.2 KB
03 SKILL.md 正文
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
04 同仓库更多 Skills
worker
[OMX] Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMX teams
wiki
[OMX] Persistent markdown project wiki stored under repository omx_wiki with keyword search and lifecycle capture
visual-ralph
[OMX] Implement or restyle frontend UI against a generated image, static reference, or live URL through measured capture-and-compare iteration.
ultraqa
[OMX] Adversarial dynamic e2e QA workflow - generate hostile scenarios, test, verify, fix, report, and clean up
ultragoal
[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
team
[OMX] N coordinated agents on shared task list using tmux-based orchestration