Skip to content

Instantly share code, notes, and snippets.

@eadortsu
Last active November 6, 2019 11:19
Show Gist options
  • Save eadortsu/7b2ba1668595e4e3b99e05e6e7093c6d to your computer and use it in GitHub Desktop.
Save eadortsu/7b2ba1668595e4e3b99e05e6e7093c6d to your computer and use it in GitHub Desktop.
client/App.vue
<!--client/App.vue-->
<template>
<v-app id="inspire">
<v-navigation-drawer
v-model="drawer"
app
clipped
>
<v-list dense>
<v-list-item link>
<v-list-item-action>
<v-icon>mdi-view-dashboard</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>My TODOs</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item link>
<v-list-item-action>
<v-icon>mdi-settings</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>Settings</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
</v-navigation-drawer>
<v-app-bar
app
clipped-left
>
<v-app-bar-nav-icon @click.stop="drawer = !drawer" />
<v-toolbar-title>The TODO App</v-toolbar-title>
</v-app-bar>
<v-content>
<v-container
class="fill-height"
fluid
>
<v-row
align="center"
justify="center"
>
<v-col class="shrink">
</v-col>
</v-row>
</v-container>
</v-content>
<v-footer app>
<span>&copy; 2019 <a href="www.eadortsu.com" target="_blank">eadortsu</a></span>
</v-footer>
</v-app>
</template>
<script>
export default {
props: {
source: String,
},
data: () => ({
drawer: null,
}),
created () {
this.$vuetify.theme.dark = true
},
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment