website now works

This commit is contained in:
polv committed 2020-12-16 05:00:20 +07:00
1 parent ce56fcb91c
commit 3daa9f82e7
15 files changed
+241 -137

No files matched your search

+7 -3
View File
@@ -1,8 +1,12 @@
<template>
<div>
<h1 v-if="error.statusCode === 404">Page not found</h1>
<h1 v-else>An error occurred</h1>
<NuxtLink to="/">Home page</NuxtLink>
<section>
<h2 v-if="error.statusCode === 404">Page not found</h2>
<pre v-else style="width: 100%">{{ error }}</pre>
</section>
<section>
<NuxtLink to="/">Home page</NuxtLink>
</section>
</div>
</template>