This commit is contained in:
ch197511161
2025-12-11 01:29:41 +08:00
parent 908b4361ed
commit ddce8fce18
473 changed files with 267270 additions and 0 deletions

20
app/pages/index.vue Normal file
View File

@@ -0,0 +1,20 @@
<template>
<div class="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100 flex items-center justify-center">
<div class="text-center">
<h1 class="text-4xl font-bold text-gray-800 mb-4">Nuxt4CRUD 应用</h1>
<p class="text-lg text-gray-600 mb-8">Prisma 6.x 升级成功</p>
<div class="space-x-4">
<NuxtLink to="/posts" class="inline-block px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors">
查看帖子
</NuxtLink>
<NuxtLink to="/dashboard-demo" class="inline-block px-6 py-3 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors">
仪表板演示
</NuxtLink>
</div>
</div>
</div>
</template>
<script setup>
// 首页组件
</script>