15 lines
264 B
Vue
15 lines
264 B
Vue
|
<script setup lang="ts">
|
||
|
import type { NuxtError } from '#app'
|
||
|
|
||
|
const props = defineProps({
|
||
|
error: Object as () => NuxtError
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
<h1>{{ error.statusCode }}</h1>
|
||
|
<nuxt-link to="/">Go back home</nuxt-link>
|
||
|
</div>
|
||
|
</template>
|