vuepress-plugin-nest
v1.0.2
Published
A vuepress plugin for canvas-nest.js
Downloads
44
Maintainers
Readme
vuepress-plugin-nest
A vuepress plugin for canvas-nest.js
Install
# install dependencies
npm i vuepress-plugin-nest -D
# or use yarn
yarn add vuepress-plugin-nest -D
Usage
Write vuepress config
module.exports = {
plugins: ['nest']
}
Options
This plugin supports the following configurations.
module.exports = {
plugins: ['nest', {
color: '0,0,0', // color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
pointColor: '0,0,0', // color of points, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
opacity: 0.5, // the opacity of line (0~1), default: 0.5.
count: 99, // the number of lines, default: 99.
zIndex: -1 // z-index property of the background, default: -1.
showInMobile: false // whether to display on the mobile side, default: false.
}]
}
Thanks
License
MIT.