-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.vue
48 lines (45 loc) · 1015 Bytes
/
error.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<template>
<div class="main">
<SiteHader />
<div class="main__wrapper">
<Error404 :error="error" />
</div>
<SiteFooter />
</div>
</template>
<script>
import { defineComponent } from 'vue'
import SiteFooter from '~~/components/dump/Footer.vue'
import SiteHader from '~~/components/dump/Header.vue'
import Error404 from '~~/components/error/404'
export default defineComponent({
name: 'Error',
components: {
Error404,
SiteFooter,
SiteHader
},
props: {
error: {
type: Object,
default: () => {}
}
}
})
</script>
<style lang="scss" scoped>
.main {
display: flex;
flex-direction: column;
min-height: 100vh;
&__wrapper {
flex: 1 1 auto;
margin-top: $halfShortMargin;
margin-bottom: $halfShortMargin;
@media (min-width: 1023px) {
margin-top: $shortMargin;
margin-bottom: $shortMargin;
}
}
}
</style>