14 lines
420 B
Vue
14 lines
420 B
Vue
<template>
|
|
<NuxtLayout name="landing">
|
|
<ContentBuilder class="min-h-[calc(100vh-9rem)] w-full" :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>
|