What problem does it solve?
This Skill enables the creation of Vue 3 components and composables using only JavaScript and JSDoc for type safety, avoiding TypeScript altogether.
Core Features & Use Cases
- Vue 3 Component Generation: Creates Vue 3 components using
<script setup> syntax without lang="ts".
- Vanilla JS Composable Development: Builds reusable JavaScript composables with comprehensive JSDoc annotations for type hints.
- Vite Project Setup: Configures Vite projects, including routing and state management, using JavaScript.
- JSDoc Typing: Leverages JSDoc (
@typedef, @param, @returns) for full type coverage, suitable for teams preferring vanilla JavaScript or needing quick prototypes without TypeScript setup.
- Use Case: Develop a new feature in a Vue 3 application that requires a custom composable for managing user authentication state, ensuring all types are clearly defined using JSDoc.
Quick Start
Create a Vue 3 component named UserProfileCard with name and age props, and an update emit using JavaScript and JSDoc.