Skip to content

vxhly/vuepress-plugin-nest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepress-plugin-nest

A vuepress plugin for canvas-nest.js

npm GitHub stars GitHub license

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.

Releases

No releases published

Packages

No packages published