1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 06:18:07 +09:00
elk/app.vue
Joaquín Sánchez 3b92b27cc8
feat: custom error page (#178)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-28 09:01:14 +00:00

17 lines
427 B
Vue

<script setup>
usePageHeader()
// We want to trigger rerendering the page when account changes
const key = computed(() => useMasto().instances.config.url || 'default')
</script>
<template>
<NuxtLoadingIndicator color="repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)" />
<NuxtLayout :key="key">
<NuxtPage />
</NuxtLayout>
<TeleportTarget
id="teleport-end"
/>
</template>