1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-10 19:09:58 +00: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>