mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 11:15:14 +00:00
e7cc2757c3
Co-authored-by: Alexander Lichter <manniL@gmx.net>
42 lines
865 B
Vue
42 lines
865 B
Vue
<template>
|
|
<v-app>
|
|
<v-toolbar color="primary" dark>
|
|
<v-toolbar-side-icon @click.native.stop="drawer = !drawer" />
|
|
<v-toolbar-title>Toolbar</v-toolbar-title>
|
|
</v-toolbar>
|
|
<v-navigation-drawer v-model="drawer" left fixed app>
|
|
<v-list>
|
|
<v-list-tile router nuxt href="/">
|
|
<v-list-tile-title>Home</v-list-tile-title>
|
|
</v-list-tile>
|
|
<v-list-tile router nuxt href="/about">
|
|
<v-list-tile-title>About</v-list-tile-title>
|
|
</v-list-tile>
|
|
</v-list>
|
|
</v-navigation-drawer>
|
|
<main>
|
|
<v-content>
|
|
<v-container fluid>
|
|
<nuxt />
|
|
</v-container>
|
|
</v-content>
|
|
</main>
|
|
</v-app>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data () {
|
|
return {
|
|
drawer: false
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.title {
|
|
padding-left: 20px;
|
|
}
|
|
</style>
|