Add page title

This commit is contained in:
Riyyi
2025-03-30 12:55:52 +02:00
parent e2e33c725f
commit 57ea6a88d1
3 changed files with 22 additions and 14 deletions
+8
View File
@@ -4,3 +4,11 @@
</NuxtLayout>
<Toast />
</template>
<script setup lang="ts">
useHead({
titleTemplate: (titleChunk) => {
return titleChunk ? `${titleChunk} - website-vue` : 'website-vue';
}
})
</script>