This commit is contained in:
lesion
2019-06-09 00:45:50 +02:00
parent ccaf53aa24
commit 792bc64ce5
16 changed files with 144 additions and 105 deletions

18
layouts/error.vue Normal file
View File

@@ -0,0 +1,18 @@
<template lang='pug'>
.container
#error
h1(v-if="error.statusCode === 404") Page not found
h1(v-else) An error occurred
</template>
<script>
export default {
props: ['error'],
}
</script>
<style lang="less">
#error {
margin-top: 20px;
color: orange;
}
</style>