ct/app/app.vue

41 lines
821 B
Vue
Raw Permalink Normal View History

2025-09-29 14:45:33 +08:00
<script lang="ts" setup>
const colorMode = useColorMode()
const color = computed(() => colorMode.value === 'dark' ? '#020618' : 'white')
useHead({
meta: [
{charset: 'utf-8'},
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
{key: 'theme-color', name: 'theme-color', content: color}
],
link: [
{rel: 'icon', href: '/favicon.ico'}
],
htmlAttrs: {
lang: 'en'
}
})
useSeoMeta({
titleTemplate: '%s - 创特物联',
ogImage: 'https://ui.nuxt.com/assets/templates/nuxt/portfolio-light.png',
twitterImage: 'https://ui.nuxt.com/assets/templates/nuxt/portfolio-light.png',
twitterCard: 'summary_large_image'
})
</script>
2025-09-29 13:52:10 +08:00
<template>
2025-09-29 14:45:33 +08:00
<UApp>
<NuxtLayout>
<UMain class="relative">
<NuxtPage/>
</UMain>
</NuxtLayout>
2025-10-07 10:12:59 +08:00
2025-09-29 14:45:33 +08:00
</UApp>
2025-09-29 13:52:10 +08:00
</template>