Created
March 30, 2018 18:27
-
-
Save SaraVieira/2d1390acdf4948d2848c3f0a283234af to your computer and use it in GitHub Desktop.
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
<template> | |
<ApolloQuery :query="query"> | |
<template slot-scope="{ result: { loading, error, data } }"> | |
</template> | |
</ApolloQuery> | |
</template> | |
<script> | |
import { GET_NAMES } from "../queries.js"; | |
export default { | |
name: "Names", | |
data() { | |
return { | |
query: GET_NAMES | |
}; | |
} | |
}; | |
</script> | |
<style scoped> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment