docs: enforce correct Vuexy reference path in CLAUDE.md and .cursorrules
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
CLAUDE.md
19
CLAUDE.md
@@ -77,6 +77,25 @@ Configure two frontend origins in both Laravel (`config/cors.php` via env) and t
|
||||
|
||||
## Frontend rules (strict)
|
||||
|
||||
### Vuexy reference source (mandatory)
|
||||
|
||||
When referencing Vuexy demo pages, components, or patterns, ALWAYS use the TypeScript Vue version at:
|
||||
|
||||
```
|
||||
resources/vuexy-admin-v10.11.1/vue-version/typescript-version/full-version/
|
||||
```
|
||||
|
||||
This is the **ONLY** valid reference path. Never use:
|
||||
- `javascript-version/` — wrong language
|
||||
- `starter-kit/` — incomplete, missing components
|
||||
- Any other variant or version
|
||||
|
||||
Before implementing any Vuexy-based page or component, read the reference implementation from this path first:
|
||||
```bash
|
||||
# Example: find auth page references
|
||||
find resources/vuexy-admin-v10.11.1/vue-version/typescript-version/full-version/src/pages -name "*.vue" | grep -i "login\|auth"
|
||||
```
|
||||
|
||||
### Vuexy-first strategy
|
||||
|
||||
Before writing ANY frontend component, consult `/dev-docs/VUEXY_COMPONENTS.md` and follow this decision tree:
|
||||
|
||||
Reference in New Issue
Block a user