This repository contains a prompt designed to enable AI assistants to generate high-quality Vue 3 code using the NaiveUI component library, addressing common shortcomings in this area compared to React/Shadcn generation.
Key Features of the Prompt:
- Two-Phase Process: Guides the AI to first conceptualize the UI using React/Shadcn patterns (internal blueprint) and then translate it to Vue/NaiveUI.
- Detailed Guidelines: Provides specific instructions for mapping React/Vue concepts and styling approaches.
- Source-Derived API Reference: Includes a comprehensive NaiveUI (v2.41.0) API reference extracted from the library's TypeScript source, ensuring accuracy for props, slots, events, and more.
- Interactive Protocol: Defines steps for requirement gathering and design confirmation before implementation.
View the Prompt: