Files
pihkaal-me/app/app.vue

21 lines
348 B
Vue

<script setup lang="ts">
const { locale } = useI18n();
const app = useAppStore();
const pageTitle = computed(() => {
if (!app.booted) return "Pihkaal";
return `${$t(`screens.${app.screen}`)} - Pihkaal`;
});
useHead({
title: pageTitle,
htmlAttrs: { lang: locale },
});
</script>
<template>
<UApp>
<NuxtPage />
</UApp>
</template>