An open API service indexing awesome lists of open source software.

https://github.com/weichiachang/vue-github-corners

A simple binding wrapper for github-corners in Vue 2
https://github.com/weichiachang/vue-github-corners

github-corners vue vue2 vuejs2

Last synced: 24 days ago
JSON representation

A simple binding wrapper for github-corners in Vue 2

Awesome Lists containing this project

README

          

# vue2-github-corners

[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/)

A simple binding wrapper for [github-corners](https://github.com/tholman/github-corners) in Vue2



vue2-github-corners

## Demo

[Show me the code, or demo it](https://git.io/v5jH6)

## Installation

```
npm install --save vue2-github-corners
```

## Usage

For standalone version

```javascript

```

For vue-cli user

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

Vue.component('VueGithubCorners', VueGithubCorners)

```

## Sample

```javascript



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](http://opensource.org/licenses/MIT) © [WeiChiaChang](https://github.com/WeiChiaChang)