
vuejs-ai
vuejs-ai / create-adaptable-composable
2.9kCreate a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive.
vuejs-ai / vue-best-practices
2.9kMUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work.
vuejs-ai / vue-testing-best-practices
2.9kUse for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
vuejs-ai / vue-debug-guides
2.9kVue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues
vuejs-ai / vue-jsx-best-practices
2.9kJSX syntax in Vue (e.g., class vs className, JSX plugin config).
vuejs-ai / vue-options-api-best-practices
2.9kVue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
vuejs-ai / vue-pinia-best-practices
2.9kPinia stores, state management patterns, store setup, and reactivity with stores.
vuejs-ai / vue-router-best-practices
2.9kVue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.