We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8082b0 commit 5381605Copy full SHA for 5381605
1 file changed
frontend/error.vue
@@ -0,0 +1,28 @@
1
+<script setup lang="ts">
2
+import type { NuxtError } from "#app";
3
+
4
+defineProps<{
5
+ /** The error passed into the page by Nuxt. */
6
+ error: NuxtError;
7
+}>();
8
+</script>
9
10
+<template>
11
+ <SmallPanelLayout>
12
+ <h1>Error {{ error.statusCode }}</h1>
13
14
+ <p>{{ error.message }}</p>
15
16
+ <template #bottom-text>
17
+ <p>
18
+ <A href="/">Go Home</A>
19
+ </p>
20
+ </template>
21
+ </SmallPanelLayout>
22
+</template>
23
24
+<style scoped lang="scss">
25
+:deep(main) {
26
+ text-align: center;
27
+}
28
+</style>
0 commit comments