Skip to content
🎗 Add a beautiful ribbon to your vuepress!
Vue JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
.editorconfig
.gitignore ✏️ fix docs Oct 17, 2019
LICENSE
README.md
index.js
package.json

README.md

vuepress-plugin-ribbon

npm GitHub stars downloads downloads GitHub license

Install

yarn add vuepress-plugin-ribbon -D
# or use npm
npm i vuepress-plugin-ribbon -D

Usage

module.exports = {
  plugins: ['ribbon']
}

Options

module.exports = {
  plugins: [
    [
      "ribbon",
      {
        size: 90,     // width of the ribbon, default: 90
        opacity: 0.8, // opacity of the ribbon, default: 0.3
        zIndex: -1    // z-index property of the background, default: -1
      }
    ]
  ]
}

Thanks

You can’t perform that action at this time.