mejoras tablas y enpoint update compras

This commit is contained in:
2021-05-02 23:47:33 -05:00
parent 3e9e50e2c3
commit a05bc18d5a
10 changed files with 235 additions and 48 deletions

View File

@@ -142,7 +142,9 @@
}
},
mounted() {
this.initScrollbar();
}
};
</script>

14
APP/layouts/error.vue Normal file
View 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>