vue-typescript
CommunityBuild robust Vue 3 apps with TypeScript
Authorjacexh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides clear, production-ready patterns and examples to eliminate common pitfalls when building Vue 3 applications with TypeScript, reducing type errors, inconsistent state management, and untyped component interfaces so teams can move faster with confidence.
Core Features & Use Cases
- Script setup with TypeScript: patterns for typed props, emits, and generic components to improve component safety and reusability.
- Composables and data fetching: guidance for creating reusable composable hooks, typed return shapes, and reactive state management.
- Pinia stores and typed router: examples for defining typed Pinia stores, extracting store state with storeToRefs, and typing route params and navigation.
- Form validation and integration: recommended approach to combine VeeValidate with Zod for type-safe validation schemas.
- Use Case: Migrate a legacy Options API component to script setup with TypeScript, extract shared logic into composables, and wire it to a typed Pinia store and route.
Quick Start
Ask the assistant to refactor a Vue single-file component to use script setup with TypeScript, add typed props and emits, extract reusable composables, and connect it to a typed Pinia store and typed routes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vue-typescript Download link: https://github.com/jacexh/skills/archive/main.zip#vue-typescript Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.