-
Notifications
You must be signed in to change notification settings - Fork 67
/
App.vue
61 lines (55 loc) · 1.35 KB
/
App.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
49
50
51
52
53
54
55
56
57
58
59
60
61
<template>
<q-layout>
<q-header class="bg-grey-2 text-black">
<q-toolbar>
<q-btn
flat
dense
round
@click="leftDrawerOpen = !leftDrawerOpen"
aria-label="Menu"
icon="mdi-menu"
/>
<q-toolbar-title>
Gantt Elastic demo
</q-toolbar-title>
</q-toolbar>
</q-header>
<q-drawer v-model="leftDrawerOpen" bordered content-class="bg-grey-2">
<q-list>
<q-item clickable @click="$router.push('/')">
<q-item-section avatar>
<q-icon name="mdi-code-tags" />
</q-item-section>
<q-item-section>
<q-item-label>Demo</q-item-label>
</q-item-section>
</q-item>
<q-item clickable @click="$router.push('/info')">
<q-item-section avatar>
<q-icon name="mdi-file-document-box-multiple" />
</q-item-section>
<q-item-section>
<q-item-label>Documentation</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-drawer>
<q-page-container>
<router-view />
</q-page-container>
</q-layout>
</template>
<script>
import Gantt from "./components/Gantt.vue";
export default {
name: "LayoutDefault",
data() {
return {
leftDrawerOpen: false
};
}
};
</script>
<style>
</style>