mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
16 lines
257 B
Vue
16 lines
257 B
Vue
|
<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>
|