Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Vue 3: Composition API and script setup in TypeScript v1.0.0

Use this resource to write Vue 3 components with the Composition API and script setup

New

  • 331 downloads
  • 202 likes
  • 100 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install vue-composition-api

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies the skill's preferences: TypeScript, script setup and the Composition API, with defineProps, defineEmits and defineModel, watchers, Transition and Teleport. You get components that follow current practice and read more clearly.

Mostly picked by

Updated November 2, 2026

Card for the “Vue 3: Composition API and script setup in TypeScript” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: preferences, quick reference and component template
  • references/: script setup macros, new core APIs and advanced patterns

Good fit for

  • You are migrating Options API components to Vue 3
  • You build a component with typed props and events

Not for

    Tags

    • Vue 3
    • Composition API
    • TypeScript
    • components

    About

    You say

    “Write a Vue task-list component with a typed defineProps and an emit for deletion.”

    Card for the “Vue 3: Composition API and script setup in TypeScript” skill

    Skill published by antfu under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write Vue 3 components with the Composition API and script setup
    3. Review and adjust the result

    Content preview

    Files

    • GENERATION.md0.1 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.4 KB
    • references/advanced-patterns.md6.4 KB
    • references/core-new-apis.md5.8 KB
    • references/script-setup-macros.md4.2 KB
    • SKILL.md2.5 KB

    Origin and licence

    Listed unmodified

    Author
    antfu
    Source
    github.com/antfu/skills/tree/8886fe2d385d3644cbb47e46ae9cb1cf09307d3b/skills/vue
    Licence
    MIT

    Notice

    « vue » (antfu, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.