ff-webpage/pages/index.vue

14 lines
418 B
Vue

<template>
<NuxtLayout name="landing">
<ContentBuilder class="min-h-[calc(100vh-9rem)] w-full" />
</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 as unknown as Homepage;
</script>