hungergames/src/App.vue

41 lines
895 B
Vue
Raw Normal View History

2017-09-29 18:12:00 +02:00
<template>
2017-11-21 22:11:58 +01:00
<v-app>
2017-09-29 18:12:00 +02:00
<NavigationDrawer v-model="isDrawerVisible"/>
2017-10-22 21:20:58 +02:00
<v-toolbar color="indigo" dark fixed app clipped-left>
2017-09-29 18:12:00 +02:00
<v-toolbar-side-icon @click.stop="showHideDrawer"></v-toolbar-side-icon>
<v-toolbar-title>HungerGames</v-toolbar-title>
</v-toolbar>
2017-11-21 22:11:58 +01:00
<v-content class="max-width">
<router-view></router-view>
</v-content>
2017-09-29 18:12:00 +02:00
</v-app>
</template>
<script>
import NavigationDrawer from '@/components/NavigationDrawer';
export default {
components: {
NavigationDrawer,
},
data() {
return {
isDrawerVisible: false,
};
},
methods: {
showHideDrawer() {
this.isDrawerVisible = !this.isDrawerVisible;
},
},
};
</script>
2017-11-21 22:11:58 +01:00
<style scoped>
.max-width {
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
</style>