Files
nuxt-demo/app/error.vue
2025-11-30 19:49:01 +08:00

25 lines
341 B
Vue

<script setup lang="ts">
import type { NuxtError } from '#app'
defineProps<{
error: NuxtError
}>()
useSeoMeta({
title: 'Page not found',
description: 'We are sorry but this page could not be found.'
})
useHead({
htmlAttrs: {
lang: 'en'
}
})
</script>
<template>
<UApp>
<UError :error="error" />
</UApp>
</template>