version update to nuxt4
This commit is contained in:
parent
7f1770d442
commit
ef84942e38
41 changed files with 5134 additions and 4946 deletions
14
app/pages/index.vue
Normal file
14
app/pages/index.vue
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue