wf4/app/error.vue
webfussel d6859cdaad add: SEO for articles
SEO and SchemaORg for articles
2025-07-11 13:32:59 +02:00

20 lines
No EOL
412 B
Vue

<template>
<section class="bg-radial">
<NuxtLayout>
<section class="content">
<h1>{{ error?.statusCode }}</h1>
<p>{{ message }}</p>
</section>
</NuxtLayout>
</section>
</template>
<script setup lang="ts">
import type { NuxtError } from 'nuxt/app'
type Props = {
error: NuxtError
}
const { error } = defineProps<Props>()
const message = getErrorMessage(error)
</script>