-
-
Save mtermoul/aedd6a727cde986c1ec0747c9c062850 to your computer and use it in GitHub Desktop.
garage-sale/Home.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// garage-sale/views/Home.vue | |
<template> | |
<v-app id="home"> | |
<v-navigation-drawer | |
... | |
</v-navigation-drawer> | |
<v-toolbar | |
... | |
</v-toolbar> | |
<v-content> | |
<v-container fluid xfill-height :class="{'pa-0': $vuetify.breakpoint.smAndDown}"> | |
<v-layout row wrap> | |
<v-flex xs12> | |
<post-grid :posts="posts"></post-grid> | |
</v-flex> | |
</v-layout> | |
</v-container> | |
</v-content> | |
</v-app> | |
</template> | |
<script> | |
import PostGrid from '@/components/PostGrid' | |
export default { | |
... | |
computed: { | |
... | |
posts () { | |
return this.$store.getters.posts | |
} | |
}, | |
components: { | |
PostGrid | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment