-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.vue
48 lines (39 loc) · 1.48 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
<template>
<VApp>
<VNavigationDrawer v-model="drawerState" temporary>
<VList class="py-0">
<VImg class="ma-6" src="/assets/logo.svg" />
<VDivider />
<VListItem title="トップページ" to="/" prepend-icon="mdi-home" />
<VListItem title="バス検索" to="/bus" prepend-icon="mdi-bus-side" />
<VListItem title="電車検索(未実装)" prepend-icon="mdi-train" disabled />
</VList>
</VNavigationDrawer>
<VAppBar elevation="3">
<VAppBarNavIcon @click.stop="drawerState = !drawerState" />
<VAppBarTitle>{{ $route.meta.title ? `${$route.meta.title}|` : ""}}わかめナビ🌱</VAppBarTitle>
</VAppBar>
<VMain class="bg-grey-lighten-3">
<VContainer>
<VRow>
<VCol class="d-none d-md-block" md="4">
<VList class="py-0" density="comfortable">
<VImg class="ma-6" src="/assets/logo.svg" />
<VDivider />
<VListItem title="トップページ" to="/" prepend-icon="mdi-home" />
<VListItem title="バス検索" to="/bus" prepend-icon="mdi-bus-side" />
<VListItem title="電車検索(未実装)" prepend-icon="mdi-train" disabled />
</VList>
</VCol>
<VCol class="text-body-1">
<NuxtPage keepalive />
</VCol>
</VRow>
</VContainer>
</VMain>
</VApp>
</template>
<script setup>
import { ref } from "vue";
const drawerState = ref(false);
</script>