fix(admin): add favicon and page-aware titles

This commit is contained in:
Jakub Zych
2026-10-07 10:39:22 +02:00
parent 9b3e630b6b
commit 5707f97089
8 changed files with 100 additions and 2 deletions

View File

@@ -1,10 +1,15 @@
<script setup lang="ts">
import { computed } from 'vue'
import { computed, watchEffect } from 'vue'
import { RouterView, useRoute } from 'vue-router'
import { documentTitleForRoute } from './app/pageTitle'
import AppShell from './components/shell/AppShell.vue'
const route = useRoute()
const inShell = computed(() => route.meta.shell === true)
watchEffect(() => {
document.title = documentTitleForRoute(route)
})
</script>
<template>