Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/moefyit/vuepress-plugin-cursor-effects

:tada: Add a cute click effect to your mouse in your vuepress!
https://github.com/moefyit/vuepress-plugin-cursor-effects

cursor effects plugin vuepress

Last synced: about 1 month ago
JSON representation

:tada: Add a cute click effect to your mouse in your vuepress!

Awesome Lists containing this project

README

        

# vuepress-plugin-cursor-effects

:tada: Add a cute click effect to your mouse in 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-cursor-effects -D
# or use npm
npm i vuepress-plugin-cursor-effects -D
```

## Usage

```javascript
module.exports = {
plugins: ['cursor-effects'],
}
```

## Options

```js
module.exports = {
plugins: [
[
'cursor-effects',
{
size: 2, // size of the particle, default: 2
shape: ['star' | 'circle'], // shape of the particle, default: 'star'
zIndex: 999999999, // z-index property of the canvas, default: 999999999
},
],
],
}
```

## Thanks

- [hexo-theme-sagiri](https://github.com/DIYgod/diygod.me/blob/master/themes/sagiri/src/cursor-effects.js)