| name | vue |
| description | Vue.js progressive JavaScript framework. Use when building Vue components, working with reactivity (ref, reactive, computed, watch), or implementing Vue Composition API patterns. |
| metadata | {"author":"Anthony Fu","version":"2026.1.28","source":"Generated from https://github.com/vuejs/docs, scripts located at https://github.com/antfu/skills"} |
Vue
The skill is based on Vue 3.5+, generated at 2026-01-28.
Vue is a progressive JavaScript framework for building user interfaces. It builds on standard HTML, CSS, and JavaScript with intuitive API and world-class documentation. The Composition API with <script setup> and TypeScript is the recommended approach for building Vue applications.
Core References
| Topic | Description | Reference |
|---|
| Reactivity System | ref, reactive, computed, watch, and watchEffect | core-reactivity |
Components
Features
Script Setup & TypeScript
Reusability
Advanced
Key Recommendations
- Use
<script setup lang="ts"> for all components
- Prefer
ref() over reactive() for declaring state
- Use type-based prop declarations with interfaces
- Use
defineModel() for v-model (3.4+)
- Destructure props reactively (3.5+) for cleaner code
- Extract composables for reusable stateful logic