vue2-github-corners

Github corners with Vue wrapper
846 9
Install
npm install vue2-github-corners
Latest Version:0.1.12
License:MIT
Last Updated:Sep 21, 2017
Links: GitHub  ·  npm
Maintainer: weichiachang

vue2-github-corners

vue2

A simple binding wrapper for github-corners in Vue2

vue2-github-corners

Demo

Show me the code, or demo it

Installation

npm install --save vue2-github-corners

Usage

For standalone version

<script src="/dist/vue-github-corners.browser.js"></script>

For vue-cli user

import { VueGithubCorners } from 'vue2-github-corners'

Vue.component('VueGithubCorners', VueGithubCorners)

Sample

<template>
  <div id="app">
    <VueGithubCorners :repoUrl="repoUrl" :catColor="catColor" :bgColor="bgColor"></VueGithubCorners>
  </div>
</template>

export default {
  ...
  data () {
    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",
    }
  }
}

License

MIT © WeiChiaChang

Related Packages

@21cnfe/onekit-mp-cli

小程序框架开发工具

1,063
duplicate-dependencies-webpack-plugin

webpack plugin to find duplicated dependencies from your bundle

332,104 6
@debut/plugin-report

Report generation for strategy backtesting in debut

4,011 18
@amilochau/core-vue3

Core plugin for vue.js (v3) projects

3,802 0
@lg2/nuxt3-plugin-link-resolver

link resolver plugin fro nuxt3

3,544 0

Version History

Version Released License
0.1.12 MIT
0.1.10 MIT
0.1.8 MIT
0.1.6 MIT
0.1.4 MIT