Simple github repo card vue.js components.
- vue
- axios
-
Use offline data
<div> <RepoCard :OfflineData="myRepoData"/> </div> <script> export default { data(){ return { myRepoData: { url: "https://github.com/vzxxbacq/speaker-recognition-papers", repoName: "speaker-recognition-papers", isFork: true, forkPath: "https://github.com/vzxxbacq/speaker-recognition-papers", forkName: "ssssForkExp", description: "Share some recent speaker recognition papers and their implementations", lang: "Python", stars: 88, forks: 24 } } } } </script>
-
Use online data
<div> <RepoCard :repo="repo"/> </div> <script> export default { data(){ return { repo: "vzxxbacq/speaker-recognition-papers" } } } </script>