document new route

This commit is contained in:
isUnknown 2024-09-17 18:11:42 +02:00
parent 36146497ec
commit 463428f14c
4 changed files with 65 additions and 55 deletions

View file

@ -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>