Files
cataRio/nuxt4/app/app.vue
josedario87 387727606a
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m8s
Fix: Eliminar referencias a icon.svg inexistente
2025-10-19 03:47:01 -06:00

35 lines
933 B
Vue

<template>
<UApp>
<NuxtRouteAnnouncer />
<UNotifications />
<NuxtPage />
</UApp>
</template>
<script setup lang="ts">
const { isAuthenticated } = useAuthentik()
const { inicializar, getCurrentColors } = useColorCustomization()
// Inicializar personalización de colores
onMounted(() => {
inicializar()
})
// Color de tema reactivo basado en el background del tema actual
const themeColor = computed(() => getCurrentColors.value.background)
// Configurar meta tags para PWA con theme-color reactivo
useHead({
link: [
{ rel: 'manifest', href: '/manifest.webmanifest' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }
],
meta: [
{ name: 'theme-color', content: themeColor },
{ name: 'mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'default' }
]
})
</script>