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

https://github.com/moefyit/vuepress-plugin-ribbon

:reminder_ribbon: Add a beautiful ribbon to your vuepress!
https://github.com/moefyit/vuepress-plugin-ribbon

plugin ribbon vuepress

Last synced: about 2 months ago
JSON representation

:reminder_ribbon: Add a beautiful ribbon to your vuepress!

Awesome Lists containing this project

README

          

# vuepress-plugin-ribbon

:reminder_ribbon: Add a beautiful ribbon to your vuepress!


npm
GitHub stars
downloads
downloads
GitHub license

- Document: [moefy-vuepress](https://moefyit.github.io/moefy-vuepress/)
- Live demo: [notev](https://nyakku.moe/)

> Want to use it outside of VuePress1.x? Try [moefy-canvas](https://github.com/moefyit/moefy-canvas)!

## Install

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

## Usage

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

## Options

```js
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

- [vuepress-plugin-nest](https://github.com/vxhly/vuepress-plugin-nest)
- [canvas-nest.js](https://github.com/hustcc/canvas-nest.js)
- [ribbon.js](https://github.com/hustcc/ribbon.js)