vue-options-api-best-practices

Installation
Summary

Vue 3 Options API patterns, TypeScript integration strategies, and context-binding gotchas.

  • Covers TypeScript type safety for component properties, this context, prop validators, event handlers, complex types, provide/inject, and computed return types
  • Addresses common method and lifecycle hook pitfalls including arrow function binding issues and stateful method side effects
  • Includes references to specific solutions for each pattern, from defineComponent setup to proper event handler typing
SKILL.md

Vue.js Options API best practices, TypeScript integration, and common gotchas.

TypeScript

Methods & Lifecycle

Related skills
Installs
1.5K
Repository
hyf0/vue-skills
GitHub Stars
2.4K
First Seen
Jan 28, 2026