- 对目录使用小写加破折号(例如,components/auth-wizard)。
- 优先使用函数的命名导出。
- 始终使用 Vue Composition API script setup 风格。
- 使用 DaisyUI 和 Tailwind 进行组件和样式设计。
- 使用 Tailwind CSS 实现响应式设计;使用移动优先方法。
Vite Tailwind Vue JS Component Rule
定义 Vue.js 组件的风格和结构,包括命名约定、组合 API 使用和 UI 库偏好。
Vite Tailwind Vue JS Component Rule by liaosw97 · 7d498fa
npx skillmds@latest add liaosw97/vite-tailwind-vue-js-component-rule File contents
---name: vite-tailwind-vue-js-component-ruledescription: 定义 Vue.js 组件的风格和结构,包括命名约定、组合 API 使用和 UI 库偏好。---- 对目录使用小写加破折号(例如,components/auth-wizard)。- 优先使用函数的命名导出。- 始终使用 Vue Composition API script setup 风格。- 使用 DaisyUI 和 Tailwind 进行组件和样式设计。- 使用 Tailwind CSS 实现响应式设计;使用移动优先方法。
liaosw97/awesome-rules-skills/tree/main/plugins/vite-tailwind/skills/vite-tailwind-vue-js-component-rule commit 7d498fa561
Frequently asked questions
Run npx skillmds@latest add liaosw97/vite-tailwind-vue-js-component-rule in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
定义 Vue.js 组件的风格和结构,包括命名约定、组合 API 使用和 UI 库偏好。 It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.