Last active
July 9, 2019 06:49
-
-
Save anoobbava/783cdae894bcf00add424d3588e4a1d1 to your computer and use it in GitHub Desktop.
to display home page in the github graphql file
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
//path: src/views/Home.vue | |
<template> | |
<TrendingRepo :searchString="homeSearchString"/> | |
</template> | |
<script> | |
import TrendingRepo from '../components/TrendingRepo' | |
export default { | |
data () { | |
return { | |
homeSearchString: 'ruby' | |
} | |
}, | |
components: { | |
TrendingRepo | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment