跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Vue Pinia Best Practices

插件 已验证 活跃
属于:Vue Skills

Pinia stores, state management patterns, store setup, and reactivity with stores.

目的

To guide Vue.js developers in implementing Pinia stores effectively, ensuring best practices for state management, reactivity, and common pitfalls.

功能

  • Pinia store setup guidance
  • Reactivity patterns for Pinia stores
  • State management patterns and common gotchas
  • SSR and DevTools integration advice

使用场景

  • Setting up new Pinia stores according to best practices
  • Troubleshooting reactivity issues when destructuring Pinia stores
  • Implementing state patterns for shared or ephemeral data
  • Ensuring proper store setup for SSR and development environments

非目标

  • Providing a direct replacement for the Pinia library
  • Offering code generation for complex state logic
  • Handling general Vue.js component development

Invocation

  • info:Name collisionsThe plugin bundles one core skill ('vue-pinia-best-practices'). While other skills are listed in the main README, this specific plugin only seems to install the Pinia skill, thus avoiding name collisions within this specific plugin's direct scope.

安装

请先添加 Marketplace

/plugin marketplace add hyf0/vue-skills
/plugin install vue-pinia-best-practices@vue-skills

质量评分

已验证
97 /100
1 day ago 分析

信任信号

最近提交about 2 months ago
GitHub 所有者 hyf0 (opens in new tab)
星标2.4k
许可证MIT
状态
查看源代码