--- name: vue description: Vue 3 application code. Composition API with script setup and TypeScript, reactivity, components, props, emits, defineModel, slots, composables, Transition, Teleport, Suspense, KeepAlive, Pinia stores, Vue Router 5, VueUse, component testing, and Vue 3.6 Vapor Mode. Use for any work on .vue files or Vue composables, including Options API and JSX codebases. --- # Vue Versions checked on 2026-10-15: Vue 3.5.44 stable and 3.6.0-rc.11 (Vapor Mode), Pinia 4.1, Vue Router 5.4, VueUse 15.0, Vitest 5.0. ## Workflow 1. **Check the stack first.** Read `package.json` for the majors of vue, pinia, vue-router and @vueuse/core, and match the style the project already uses. New code defaults to the Composition API with `