完成布局

This commit is contained in:
2025-07-25 11:36:11 +08:00
parent 9dafb6ff47
commit c4995bbe9a
22 changed files with 381 additions and 124 deletions

View File

@@ -1,4 +1,8 @@
<script setup lang="ts">
definePageMeta({
layout: 'default'
})
const { data: page } = await useAsyncData('index', () => queryCollection('landing').path('/').first())
if (!page.value) {
throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })