docs: clarify optional page drivers in page guide
Update documentation to show that simple pages can define page models directly in views without creating a page driver. Adjust examples, section numbering, and naming guidance to better distinguish simple view state from reusable page-driver patterns.docs: clarify optional page drivers in page guide Update documentation to show that simple pages can define page models directly in views without creating a page driver. Adjust examples, section numbering, and naming guidance to better distinguish simple view state from reusable page-driver patterns.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
- `src/services/modules/<domain>.ts` — service modules
|
||||
- Examples of correct vs. incorrect naming:
|
||||
- ❌ `PageStudentMaintenance.vue` → ✅ `PageMaintenance.vue`
|
||||
- ❌ `useStudentMaintenancePage.ts` → ✅ `useMaintenancePage.ts`
|
||||
- ❌ `useStudentMaintenancePage.ts` → ✅ `useSingleRecordMaintenancePage.ts`
|
||||
- ❌ `ItemStudentRow.vue` → ✅ `ItemDataRow.vue`
|
||||
- ❌ `useStudentCrudCommands.ts` → ✅ `useCrudCommands.ts`
|
||||
- ✅ `models/student.ts`, `stores/students.ts` — domain layer, specific names are correct
|
||||
|
||||
Reference in New Issue
Block a user