mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 23:37:41 +00:00
add gobal title
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
43f389c29b
commit
b85db33456
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Wunschlisten</title>
|
<title>Wishlists</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-white text-black dark:bg-stone-900 dark:text-white/75">
|
<body class="bg-white text-black dark:bg-stone-900 dark:text-white/75">
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
|
@ -31,10 +31,13 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import { useTitle } from '@vueuse/core'
|
||||||
import { onErrorCaptured, ref } from 'vue'
|
import { onErrorCaptured, ref } from 'vue'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
|
useTitle(t('common.app-title.text'))
|
||||||
|
|
||||||
const error = ref()
|
const error = ref()
|
||||||
|
|
||||||
onErrorCaptured((e: unknown) => {
|
onErrorCaptured((e: unknown) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue