document new route
This commit is contained in:
parent
36146497ec
commit
463428f14c
4 changed files with 65 additions and 55 deletions
|
|
@ -1,16 +1,12 @@
|
|||
<template>
|
||||
<h1>{{ data.content.title }}</h1>
|
||||
<!-- ... -->
|
||||
<h1>{{ page.content.title }}</h1>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
<script setup>
|
||||
const { data } = defineProps({
|
||||
data: Object,
|
||||
});
|
||||
import { usePageStore } from "../stores/page";
|
||||
import { storeToRefs } from "pinia";
|
||||
|
||||
// ....
|
||||
const { page } = storeToRefs(usePageStore());
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue