Nuxt/test/fixtures/basic/error.vue

16 lines
257 B
Vue
Raw Normal View History

<template>
<div>
<div>
<h1>{{ error?.message }}</h1>
This is the error page 😱
</div>
</div>
</template>
<script setup lang="ts">
import type { NuxtError } from '#app'
defineProps({
error: Object as () => NuxtError
})
</script>