Sink/app/app.vue
wudi 7cadbfe2b1 refactor: Migrate project files and directories to the app directory using the new compatibilityVersion: 4 feature
- Moved `app.config.ts` to the `app` directory
- Migrated `.vue` files and other assets to the `app` directory
- Updated import paths to reflect the new file locations
2025-03-24 11:05:59 +08:00

43 lines
801 B
Vue

<script setup>
const { title, description, image } = useAppConfig()
useSeoMeta({
title: `${title} - ${description}`,
description,
ogType: 'website',
ogTitle: title,
ogDescription: description,
ogImage: image,
twitterTitle: title,
twitterDescription: description,
twitterImage: image,
twitterCard: 'summary_large_image',
})
useHead({
htmlAttrs: {
lang: 'en',
},
meta: [
{
name: 'viewport',
content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0',
tagPosition: 'head',
},
],
link: [
{
rel: 'icon',
type: 'image/png',
href: '/icon-192.png',
},
],
})
</script>
<template>
<NuxtLayout>
<NuxtLoadingIndicator color="#000" />
<NuxtPage />
<Toaster />
</NuxtLayout>
</template>