Cursor Vue 编码规范:来自 PatrickJS/awesome-cursorrules (40k stars) 的 vue,适用于各类文档与内容的智能化处理。
Cursor Vue 编码规范:来自 PatrickJS/awesome-cursorrules (40k stars) 的 vue,适用于各类文档与内容的智能化处理。
**文件来源:** PatrickJS/awesome-cursorrules → `rules/vue-3-nuxt-3-typescript-cursorrules-prompt-file.mdc`
**原仓库:** https://github.com/PatrickJS/awesome-cursorrules
**评分:** ⭐ 仓库 40k stars (社区最权威 Cursor rules 合集)
把 `vue-3-nuxt-3-typescript-cursorrules-prompt-file.mdc` 这条 Cursor 编码规则打包成可调用的 AI skill,帮你把代码生成统一到一致的标准上。
> Cursor rules for Vue 3 development with TypeScript integration.
globs: **/*
alwaysApply: false
---
Vue 3 Nuxt 3 TypeScript Guidelines
- Use Vue 3 Composition API patterns with `<script setup>` and clear component boundaries.
- Prefer TypeScript interfaces for object shapes and keep shared types close to the feature that owns them.
- Use Nuxt conventions for routing, layouts, composables, plugins, server routes, and runtime config.
- Keep Tailwind CSS usage responsive, accessible, and consistent with the project design system.
- Use VueUse utilities where they simplify reactivity without hiding important state transitions.
- Optimize Vite/Nuxt builds with lazy loading, dynamic imports, image optimization, and bundle review.
有问题或建议,在本 skill 下留言。
把 `vue-3-nuxt-3-typescript-cursorrules-prompt-file.mdc` 这条 Cursor 编码规则打包成可调用的 AI skill,帮你把代码生成统一到一致的标准上。
> Cursor rules for Vue 3 development with TypeScript integration.