vue2-github-corners
A simple binding wrapper for github-corners in Vue2
Demo
Installation
npm install --save vue2-github-corners
Usage
For standalone version
<script src="/dist/vue-github-corners.browser.js"></script>
For vue-cli user
Vue
Sample
<template> <div id="app"> <VueGithubCorners :repoUrl="repoUrl" :catColor="catColor" :bgColor="bgColor"></VueGithubCorners> </div></template> ... { return // Replace repoUrl, catColor, bgColor setting as you want. // If default is what you like, just don't use related key-value pair and ignore it. repoUrl: "https://github.com/weichiachang/vue-github-corners" catColor: "#ffffff" bgColor: "#151513" }