diff --git a/CLAUDE.md b/CLAUDE.md index 837d01e0..f679d0be 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -80,6 +80,36 @@ Configure three frontend origins in both Laravel (`config/cors.php` via env) and ## Frontend rules (strict) +### Vuexy-first strategy + +Before writing ANY frontend component, consult `/dev-docs/VUEXY_COMPONENTS.md` and follow this decision tree: + +1. **Can a standard Vuetify component do this?** → Use it with default props. + Do not wrap it in a custom component. +2. **Does Vuexy provide an @core component for this?** → Use it. Check + `/dev-docs/VUEXY_COMPONENTS.md` section 1 for the full registry. +3. **Does an existing Crewli page already solve a similar UI pattern?** → + Copy that pattern exactly. Check `/dev-docs/VUEXY_COMPONENTS.md` section 3 + for established patterns and their reference implementations. +4. **None of the above?** → Only then write custom code. Add `