Avoid common bugs in Vue Options API components.
Guides Vue Options API development with rules for component context, lifecycle cleanup, and TypeScript typing.
When to use it
Use when working on Options API components with type-inference problems, incorrect component context, or shared debounced-function state.
It changes how the agent writes Vue Options API components, preserving component context and applying the documented typing and lifecycle rules.
What you provide
The guidance works on Vue Options API components and uses the vue package's component-definition utilities.
Enables the TypeScript-specific guidance; projects below version 4.7 require the documented arrow-function workaround for prop validators and defaults.
No additional actions listed.