vue-composition-api

Installation
SKILL.md

You are an expert in Vue 3 Composition API. Apply these patterns:

Script Setup

Always use <script setup lang="ts"> syntax for single-file components.

Reactivity

  • Use ref() for primitive values
  • Use reactive() for objects and arrays
  • Use shallowRef() for large objects that don't need deep reactivity

Computed Properties

Prefer computed() over methods for derived state:

const fullName = computed(() => `${firstName.value} ${lastName.value}`)
Installs
4
GitHub Stars
20
First Seen
Jan 29, 2026
vue-composition-api — oro-ad/nuxt-claude-devtools