feat(list): improve error page title
This commit is contained in:
parent
f6f93e3b42
commit
f86e31a06c
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ import type { NuxtError } from "#app"
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
error: Object as () => NuxtError,
|
error: Object as () => NuxtError,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
useHead({ title: props.error?.statusCode })
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue