Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 2.21 KB

File metadata and controls

58 lines (44 loc) · 2.21 KB

vuepress-plugin-cursor-effects-v2

🎉 Add a cute click effect to your mouse in your vuepress!

npm GitHub stars downloads downloads GitHub license

Want to use it outside of VuePress? Try moefy-canvas!

Dependencies vuepress version

vuepress version >=v2.0.0

Install

yarn add vuepress-plugin-cursor-effects-v2 -D
# or use npm
npm i vuepress-plugin-cursor-effects-v2 -D

Usage

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

Options

module.exports = {
   plugins: [
      [
         'cursor-effects-v2',
         {
            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