What problem does it solve?
Provide guidance and concrete patterns to build Vue 3 applications using plain JavaScript and JSDoc so teams can avoid TypeScript while retaining clear type documentation, maintainable composables, and modern Composition API patterns.
Core Features & Use Cases
- Composition API best practices using script setup without TypeScript and support for ESM .mjs modules.
- JSDoc-based typing patterns including @typedef, @param, @returns, and @type for refs, computed values, composables, and public APIs.
- Component architecture guidance (props, emits, slots), Pinia state management patterns, composable design, and Vitest testing strategies for JavaScript projects.
- Use case: migrate a Vue 2 Options API codebase to Vue 3 Composition API in JavaScript with consistent JSDoc types and unit tests.
Quick Start
Create a Vue 3 component using script setup in JavaScript with JSDoc-typed props, a composable for shared state, and a short Vitest unit test.