gancio-upstream/layouts/error.vue

19 lines
315 B
Vue
Raw Normal View History

2019-06-09 00:45:50 +02:00
<template lang='pug'>
.container
#error
h1(v-if="error.statusCode === 404") {{error.message}}
2019-07-03 17:22:26 +02:00
h1(v-else) An error occurred: {{error.message}}
2019-06-09 00:45:50 +02:00
</template>
<script>
export default {
2019-09-11 19:12:24 +02:00
props: ['error']
2019-06-09 00:45:50 +02:00
}
</script>
<style lang="less">
#error {
margin-top: 20px;
color: orange;
}
</style>