naweigete-web/app.vue
2025-03-12 14:18:25 +08:00

48 lines
991 B
Vue

<template>
<AppHeader />
<NuxtPage />
</template>
<script lang="ts" setup>
import { APIs } from './service/apiList'
import type AxiosRequestError from './service/error'
import $api from './service/webRequest'
useSeoMeta({
title: '我的神奇网站',
ogTitle: '我的神奇网站',
description: '这是我的神奇网站,让我给你介绍一切。',
ogDescription: '这是我的神奇网站,让我给你介绍一切。',
ogImage: 'https://example.com/image.png',
twitterCard: 'summary_large_image',
})
// $api.get(APIs.login)
// .then(() => {
// //
// })
// .catch((err: AxiosRequestError) => {
// console.dir(err)
// })
</script>
<style>
#__nuxt{
height: 100%;
width: 100%;
}
html,
body {
position: relative;
height: 100%;
}
body {
background: #eee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #000;
margin: 0;
padding: 0;
}
</style>