init5
This commit is contained in:
20
app/pages/index.vue
Normal file
20
app/pages/index.vue
Normal 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>
|
||||
Reference in New Issue
Block a user