default.vue
962 Bytes
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
<template>
<v-app>
<!-- Left Navigation-->
<LeftNavbarComponent @isDrawer="isDrawer":drawer="drawer"></LeftNavbarComponent>
<!-- Left Navigation-->
<!-- app bar-->
<HeaderComponent/>
<!-- app bar-->
<v-content>
<nuxt/>
</v-content>
<!-- Footer -->
<v-footer fixed app>
<span>© {{ new Date().getFullYear() }}</span>
</v-footer>
<!-- //Footer -->
</v-app>
</template>
<script>
import 'material-design-icons-iconfont/dist/material-design-icons.css'
import LeftNavbarComponent from "../components/LeftNavbarComponent"
import HeaderComponent from "../components/HeaderComponent";
export default {
name: 'default',
data: () => ({
drawer: null
}),
props: {
source: String,
},
methods: {
isDrawer (data){
this.drawer = data;
}
},
components: {
HeaderComponent,
LeftNavbarComponent
}
}
</script>