初始化:创建基于 Nuxt Content 的博客项目

This commit is contained in:
zibright
2025-07-22 16:15:28 +08:00
commit 0e18cc8790
9 changed files with 10050 additions and 0 deletions

17
layouts/default.vue Normal file
View File

@@ -0,0 +1,17 @@
<template>
<div class="min-h-screen bg-gray-100">
<header class="bg-white shadow">
<nav class="container mx-auto px-4 py-6">
<NuxtLink to="/" class="text-2xl font-bold text-gray-800">我的博客</NuxtLink>
</nav>
</header>
<main class="container mx-auto px-4 py-8">
<slot />
</main>
<footer class="bg-white shadow mt-8">
<div class="container mx-auto px-4 py-6 text-center text-gray-600">
© 2025 我的博客. 保留所有权利.
</div>
</footer>
</div>
</template>