mejoras tablas y enpoint update compras
This commit is contained in:
@@ -142,7 +142,9 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.initScrollbar();
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
14
APP/layouts/error.vue
Normal file
14
APP/layouts/error.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<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>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['error'],
|
||||
layout: 'error' // you can set a custom layout for the error page
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user