docs: simplify page architecture and component guidance
Update the src documentation to emphasize building pages from route views, composables, sections, and items instead of a dedicated pages layer. Clarify the recommended data flow and new feature workflow so template users start from views and only introduce page-driver composables when coordination logic becomes complex.docs: simplify page architecture and component guidance Update the src documentation to emphasize building pages from route views, composables, sections, and items instead of a dedicated pages layer. Clarify the recommended data flow and new feature workflow so template users start from views and only introduce page-driver composables when coordination logic becomes complex.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue'
|
||||
import PageEditableGridMaintenance from '@/components/pages/PageEditableGridMaintenance.vue'
|
||||
import EditableStudentGrid from '@/components/maint/EditableGrid.vue'
|
||||
import type { MaintenancePageModel } from '@/models/page'
|
||||
import { useStudentStore } from '@/stores/students'
|
||||
|
||||
@@ -15,5 +15,5 @@ const pageModel = computed<MaintenancePageModel>(() => ({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<PageEditableGridMaintenance :page="pageModel" />
|
||||
<EditableStudentGrid :title="pageModel.title" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user