A vuepress plugin for canvas-nest.js
# install dependencies
npm i vuepress-plugin-nest -D
# or use yarn
yarn add vuepress-plugin-nest -D
Write vuepress config
module.exports = {
plugins: ['nest']
}
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.
}]
}
MIT.