vue

Vue is a progressive framework for building user interfaces. Vue 3.5 (2025) solidifies the Composition API and introduces "Vapor Mode" for solid-js like performance.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vue" with this command: npx skills add g1joshi/agent-skills/g1joshi-agent-skills-vue

Vue.js

Vue is a progressive framework for building user interfaces. Vue 3.5 (2025) solidifies the Composition API and introduces "Vapor Mode" for solid-js like performance.

When to Use

  • Progressive Adoption: Drop it into an existing HTML page or build a full SPA.

  • Developer Experience: Often cited as having the best balance of simplicity and power.

  • Performance: With Vapor Mode, it rivals the fastest signals-based frameworks.

Quick Start (Composition API)

<script setup> import { ref, computed } from "vue";

const count = ref(0); const double = computed(() => count.value * 2);

function increment() { count.value++; } </script>

<template> <button @click="increment"> Count is: {{ count }}, Double is: {{ double }} </button> </template>

Core Concepts

Composition API (<script setup> )

The standard way to write Vue components. It groups logic by feature, not by option type (data, methods, mounted).

Reactivity System (Signals)

Vue's reactivity is based on proxies. ref() and reactive() allow fine-grained dependency tracking.

Vapor Mode (Opt-in)

A compilation strategy that compiles Vue components into highly efficient JavaScript that modifies the DOM directly (no Virtual DOM).

Best Practices (2025)

Do:

  • Use <script setup> : It is less verbose and provides better TypeScript support.

  • Use defineModel : The new standard for two-way binding props (Vue 3.4+).

  • Use Composables: Extract logic into reusable useFeature() functions (Vue's version of Hooks).

Don't:

  • Don't mix Options and Composition API: Stick to Composition API for new projects.

  • Don't destructure props : You lose reactivity (unless using toRefs or Vue 3.5 reactive destructuring).

References

  • Vue.js Documentation

  • Vue Vapor Mode

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

template

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

claude

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

mariadb

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

javascript

No summary provided by upstream source.

Repository SourceNeeds Review