by vuejs-ai
Vue.js 项目经常面临数据流不清晰和响应式错误的问题。本技能提供 Vue 3 和 Nuxt 3 开发的全面最佳实践,包括正确的状态管理、组件模式和数据流架构。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 vue-development-guides 技能" 开始使用
=== vue-development-guides 技能 === 作者: vuejs-ai 描述: Vue.js 项目经常面临数据流不清晰和响应式错误的问题。本技能提供 Vue 3 和 Nuxt 3 开发的全面最佳实践,包括正确的状态管理、组件模式和数据流架构。 使用方法: 1. 调用技能: "使用 vue-development-guides 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 vue-development-guides 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
safe
IMPORTANT: You MUST follow the references/reactivity-guide.md for reactive state management when creating, updating a component or a composable.
IMPORTANT: You MUST follow the references/sfc-guide.md for best practices when working with Vue SFCs.
<script setup lang="ts"> (TypeScript) by default.<script> → <template> → <style>.Split a component when it has more than one clear responsibility (e.g. data orchestration + UI, or multiple independent UI sections).
useXxx()).NOTE: This rule also applies to the entry component (e.g. App.vue) in a Vue / Nuxt project by default.
IMPORTANT: You MUST follow the references/data-flow-guide.md for passing and receiving data between components using:
v-modelFor sharing data across the app, please follow the references/state-management-guide.md and consider using a Store for state management solution.
View Count
0
Download Count
0
Favorite Count
0
Quality Score
73