pompy.dev/apps/list/error.vue

15 lines
419 B
Vue

<script setup lang="ts">
import type { NuxtError } from "#app"
const props = defineProps({
error: Object as () => NuxtError,
})
</script>
<template>
<div class="flex flex-col items-center">
<h2 class="text-8xl font-black">{{ $props.error?.statusCode }}</h2>
<p>{{ $props.error?.statusMessage }}</p>
<NuxtLink href="/" class="underline">bring me home!</NuxtLink>
</div>
</template>