This package has been deprecated

Author message:

The package is no longer supported

@vuepress-plume/vuepress-plugin-notes-data
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.89 • Public • Published

@vuepress-plume/vuepress-plugin-notes-data

Install

yarn add @vuepress-plume/vuepress-plugin-notes-data

Usage

// .vuepress/config.js
const notesDataPlugin = require('@vuepress-plume/vuepress-plugin-notes-data')
module.exports = {
  //...
  plugins: [
    notesDataPlugin()
  ]
  // ...
}

Options

type NotesDataOptions = {
  dir: string
  link: string
  include?: string | string[]
  exclude?: string | string[]
  notes: NotesItem[]
}

type NotesItem = {
  dir: string
  link: string
  text: string
  sidebar?: NotesSidebar | 'auto'
}

type NotesSidebar = (NotesSidebarItem | string)[]

type NotesSidebarItem = {
  text?: string
  link?: string
  dir?: string
  collapsed?: boolean
  items?: NotesSidebar
}

/@vuepress-plume/vuepress-plugin-notes-data/

    Package Sidebar

    Install

    npm i @vuepress-plume/vuepress-plugin-notes-data

    Weekly Downloads

    7

    Version

    1.0.0-beta.89

    License

    MIT

    Unpacked Size

    13.2 kB

    Total Files

    22

    Last publish

    Collaborators

    • pengzhanbo