vuepress-plugin-nest

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i vuepress-plugin-nest

Weekly Downloads

10

Version

1.0.2

License

MIT

Unpacked Size

8.18 kB

Total Files

8

Last publish

Collaborators

  • vxhly