fork-me-on-github-vue

1.0.7 • Public • Published

Fork me on Github – CSS ribbon

CSS implementation of GitHub ribbon.

Usage

import ForkeMeOnGithub from 'fork-me-on-github-vue';
 
Vue.use(ForkeMeOnGithub);
<template>
  ...
  <Ribbon
    v-bind="ribbonOptions"
  ></Ribbon>
  ...
</template>
<script>
  ...
  data() {
    return {
      ribbonOptions: {
        text: 'Fork me on GitHub',
        linkUrl: pkg.repository.url,
        fixed: true
      }
    }
  }
  ...
</script>

Package Sidebar

Install

npm i fork-me-on-github-vue

Weekly Downloads

4

Version

1.0.7

License

none

Last publish

Collaborators

  • chun_chan
  • xudafeng