version update to nuxt4

This commit is contained in:
Julian Krauser 2025-07-23 13:46:18 +02:00
parent 7f1770d442
commit ef84942e38
41 changed files with 5134 additions and 4946 deletions

14
app/pages/index.vue Normal file
View file

@ -0,0 +1,14 @@
<template>
<NuxtLayout name="landing">
<ContentBuilder :content="content" />
</NuxtLayout>
</template>
<script setup lang="ts">
import type Homepage from "~~/types/single/homepage";
const { findOne } = useStrapi();
const { data: homepage } = await useAsyncData("homepage", () => findOne<Homepage>("homepage"));
const { content } = homepage.value?.data ?? {};
</script>