This commit is contained in:
2021-06-22 20:45:25 -05:00
parent 14f9937d93
commit 600358d640
9 changed files with 628 additions and 83 deletions

View File

@@ -1,14 +1,12 @@
<template>
<div>
<h1 v-if="error.statusCode === 404">Página no encontrada</h1>
<h1 v-else> !!Ha ocurrido un error!!</h1>
<NuxtLink to="/"> <i class="fas fa-home fa-2x"></i></NuxtLink>
<h1>Página no encontrada</h1>
</div>
</template>
<script>
export default {
props: ['error'],
layout: 'error' // you can set a custom layout for the error page
//layout: 'error' // you can set a custom layout for the error page
}
</script>