Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 1.12 KB

README.md

File metadata and controls

60 lines (49 loc) · 1.12 KB

repo-card-vue

Simple github repo card vue.js components.

Demo

Check Online Demo

demo

Dependencies

  • vue
  • axios

Usage

  1. 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>
  2. Use online data

    <div>
      <RepoCard :repo="repo"/>
    </div>
    
    <script>
    export default {
      data(){
        return {
          repo: "vzxxbacq/speaker-recognition-papers"
        }
      }
    }
    </script>