New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vue2-github-corners

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue2-github-corners

Github corners with Vue wrapper

latest
Source
npmnpm
Version
0.1.12
Version published
Weekly downloads
11
120%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

vue

FAQs

Package last updated on 21 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts