Loading...
Loading...
ALWAYS use when editing or working with *.vue files or code importing "vue". Consult for debugging, best practices, or modifying vue, core.
npx skill4agent add harlan-zw/vue-ecosystem-skills vue-skilldvuecreateVaporApp()createApp()vaporInteropPlugincreateApp()<script setup vapor><script setup>app.config.globalPropertiesgetCurrentInstance()useTemplateRef(key)refref="key"useId()onWatcherCleanup(fn)watchwatchEffectonCleanuphydrateOnVisible()hydrateOnIdle()hydrateOnInteraction()hydrateOnMediaQuery()defineAsyncComponent({ hydrate: hydrateOnVisible() })hydratedefineModel()definePropsdefineEmits('update:modelValue')definePropsconst { count = 0 } = defineProps<{ count?: number }>()withDefaults(defineProps<...>(), { count: 0 })watch()@vnodeXXX@vue:XXX@vue:mounted$ref$computedJSXjsxImportSource: "vue"tsconfig.jsonvue/jsxapp.config.unwrapInjectedRefinject()<Teleport defer>deferdefineSlots<{}>()defineOptions({})<script>toRef(() => getter)toValue()toRefv-bind:id:id="id"data-allow-mismatchuseHost()useShadowRoot()v-isis="vue:ComponentName"withDefaults()props.xwatchwatch(() => count, ...)toValue()MaybeRefOrGetter<T>onWatcherCleanup()onCleanupwatchwatchEffectuseTemplateRef()ref@vue/language-toolsuseId()computed()shallowRef()shallowReactive().valueactiveoldValuedefineAsyncComponenthydrateOnVisible()hydrateOnIdle()hydrateOnInteraction()hydrateOnMediaQuery()import { defineAsyncComponent, hydrateOnVisible } from 'vue'
const AsyncComp = defineAsyncComponent({
loader: () => import('./Comp.vue'),
hydrate: hydrateOnVisible()
})<script setup vapor>app.config.globalPropertiesgetCurrentInstance()vaporInteropPlugin