Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<div class="container">
<ul v-if="people && people.length > 0">
v-for="person in people"
<h4 v-else>No people, please add one using playground</h4>
import { PEOPLE } from '@/gql/queries/person.queries'
export default {
apollo: {
people: {
query: PEOPLE,
<style scoped>
.container {
width: 80%;
min-height: 100vh;
align-items: center;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
flex-direction: column;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.