🎉 这会是一个好的开始

This commit is contained in:
li-chx
2025-07-08 22:34:48 +08:00
commit b8e2f4282d
18 changed files with 10334 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<script setup lang="ts">
</script>
<template>
<div>
{{useRoute().params.articleID}}
</div>
</template>
<style scoped>
</style>
+13
View File
@@ -0,0 +1,13 @@
<script setup lang="ts">
</script>
<template>
<div>
</div>
</template>
<style scoped>
</style>
+45
View File
@@ -0,0 +1,45 @@
<script setup lang="ts">
import type { NavigationMenuItem } from '@nuxt/ui';
const items = ref<NavigationMenuItem[]>([
{
label: '首页',
icon: 'i-lucide-home',
to: '/',
},
{
label: '归档',
icon: 'i-lucide-paperclip',
to: '/archive',
},
{
label: '关于',
icon: 'i-lucide-info',
to: '/about',
},
{
label: 'Contact',
to: '/contact',
},
]);
useColorMode().preference = 'light';
</script>
<template>
<div>
<NuxtRouteAnnouncer />
<UApp>
<div class="w-full flex justify-center">
<div class="xl:w-[1220px] lg:w-[964px] md:w-[708px]">
<UNavigationMenu :items="items" class="w-full"/>
<NuxtPage />
</div>
</div>
</UApp>
</div>
</template>
<style scoped>
</style>