Vue Component Conventions

Enforce Vue 3.5+ single-file component conventions (script setup, type-safe defineProps/defineEmits, defineModel for v-model, useTemplateRef for refs, composition API only). Use this skill when editing .vue files, or when the user mentions Vue component, props, emits, v-model, ref, computed, watch, composable, script setup, Options API, mixin, or asks to write/refactor any Vue component. Forbids Options API, mixins, untyped props, withDefaults when 3.5+ destructure works, manual ref strings. Use when this capability is needed.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/zhaojiannet--claude-skills--vue-component-conventions commit 51656655ba

Frequently asked questions

npx skillmds@latest add tomevault-io/vue-component-conventions