7b99087cbb
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.
16 lines
315 B
Vue
16 lines
315 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue'
|
|
import { useRoute } from 'vue-router'
|
|
|
|
const route = useRoute()
|
|
const pageModel = computed(() => ({
|
|
fncId: String(route.params.fncId ?? ''),
|
|
}))
|
|
</script>
|
|
|
|
<template>
|
|
<v-sheet height="100%" width="100%">
|
|
{{ pageModel.fncId }}
|
|
</v-sheet>
|
|
</template>
|