base zone components and type refinements
This commit is contained in:
parent
9d96e3a6dc
commit
5c56af0dad
38 changed files with 323 additions and 54 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<NuxtLayout name="landing">
|
||||
<ContentBuilder class="min-h-[calc(100vh-9rem)] w-full" />
|
||||
<ContentBuilder class="min-h-[calc(100vh-9rem)] w-full" :content="content" />
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
|
@ -10,5 +10,5 @@ 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;
|
||||
const { content } = homepage.value?.data ?? {};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue