← LeaderboardThe Skill Leaderboard

vue-best-practices

MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

Published by LeoYeAI ↗LeoYeAI/agent-master-skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: vue-best-practicesdescription: MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.license: MITmetadata:   author: github.com/vuejs-ai  version: "17.0.0"

Vue 3 best practices, common gotchas, and performance optimization.

Reactivity

Computed

Watchers

Components

Props & Emits

Templates

Forms & v-model

Events & Modifiers

Lifecycle

Slots

Provide/Inject

Attrs

Composables

Composition API

Directives

Transitions

Animation

KeepAlive

Async Components

Render Functions

Teleport

Suspense

TypeScript

SSR

Performance

SFC (Single File Components)

Plugins

App Configuration