Skip to content

moefyit/vuepress-plugin-cursor-effects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepress-plugin-cursor-effects

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

npm GitHub stars downloads downloads GitHub license

Want to use it outside of VuePress1.x? Try moefy-canvas!

Install

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

Usage

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

Options

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