vue-options-api-best-practices

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: arrow function binding issues, context loss, and stateful method state leakage across instances Organized as a reference guide with linked examples for each pattern and anti-pattern

INSTALLATION
npx skills add https://github.com/vuejs-ai/skills --skill vue-options-api-best-practices
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

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

TypeScript

Methods & Lifecycle

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card