domains / families / software-engineering / vue-options-api-best-practices
vue-options-api-best-practices
separate
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
When to use
- Vue 3 Options API style
- TypeScript type inference for component properties
- Type safety for Options API this context
- Typing event handler parameters
- Typing object or array props with interfaces
- Typing injected properties
- Typing complex computed properties
- Binding methods to component instance context
When not to use
- Composition API solutions
Skill page
Source
| Repository | Path |
|---|
| vuejs-ai/skills | skills/vue-options-api-best-practices/SKILL.md |