add gobal title

Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2022-02-19 22:27:11 +01:00
parent 43f389c29b
commit b85db33456
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wunschlisten</title>
<title>Wishlists</title>
</head>
<body class="bg-white text-black dark:bg-stone-900 dark:text-white/75">
<div id="app"></div>

View file

@ -31,10 +31,13 @@
</div>
</template>
<script setup lang="ts">
import { useTitle } from '@vueuse/core'
import { onErrorCaptured, ref } from 'vue'
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
useTitle(t('common.app-title.text'))
const error = ref()
onErrorCaptured((e: unknown) => {