docs(pages): clarify page driver component boundaries
Add inline comments to page components documenting how page models, v-model state, and emitted user intents flow through the page driver. This clarifies that page components remain presentation-focused while routing, dialog state, CRUD side effects, and command handling stay in the page driver or related composables.docs(pages): clarify page driver component boundaries Add inline comments to page components documenting how page models, v-model state, and emitted user intents flow through the page driver. This clarifies that page components remain presentation-focused while routing, dialog state, CRUD side effects, and command handling stay in the page driver or related composables.
This commit is contained in:
@@ -49,6 +49,28 @@ export const routes: RouteRecordRaw[] = [
|
||||
component: () => import('@/views/maint/EditableGrid.vue'),
|
||||
meta: { layout: 'default' },
|
||||
},
|
||||
{
|
||||
path: '/demos/sections',
|
||||
redirect: '/demos/sections/query-page',
|
||||
},
|
||||
{
|
||||
path: '/demos/sections/query-page',
|
||||
name: 'demo-section-query-page',
|
||||
component: () => import('@/views/demos/SectionQueryPageDemo.vue'),
|
||||
meta: { title: 'SectionQueryPage 示範', layout: 'default' },
|
||||
},
|
||||
{
|
||||
path: '/demos/sections/form-page',
|
||||
name: 'demo-section-form-page',
|
||||
component: () => import('@/views/demos/SectionFormPageDemo.vue'),
|
||||
meta: { title: 'SectionFormPage 示範', layout: 'default' },
|
||||
},
|
||||
{
|
||||
path: '/demos/sections/search-panel',
|
||||
name: 'demo-section-search-panel',
|
||||
component: () => import('@/views/demos/SectionSearchPanelDemo.vue'),
|
||||
meta: { title: 'SectionSearchPanel 示範', layout: 'default' },
|
||||
},
|
||||
{
|
||||
path: '/:fncId([0-9A-Z]{5,6})',
|
||||
name: 'fnc-page',
|
||||
|
||||
Reference in New Issue
Block a user