AgentSkillsCN

laravel-vue-frontend

适用于在 Laravel 应用中使用 Vue.js 构建或思考前端组件时使用。

SKILL.md
--- frontmatter
name: laravel-vue-frontend
description: Use when building or reasoning about frontend components in a Laravel application using Vue.js.
  • Vue is the preferred and approved frontend framework
  • Use Vite for asset bundling and development
  • Vue components live under resources/js
  • Prefer Single File Components (SFCs)
  • Prefer Composition API for new code

Constraints:

  • Do not suggest or scaffold React
  • Do not suggest JSX-based frameworks
  • Do not introduce alternative frontend frameworks unless explicitly approved

Integration guidance:

  • Vue is used for interactive UI, not full SPA unless stated
  • Laravel remains the backend and routing authority
  • Use Vue where Blade alone is insufficient