This package has been deprecated

Author message:

The package is no longer supported

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

1.0.0-beta.89 • Public • Published

@vuepress-plume/vuepress-plugin-blog-data

Install

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

Usage

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

Options

interface BlogDataPluginOptions {
  include?: string | string[]
  exclude?: string | string[]
  sortBy?: 'createTime' | false | (<T>(prev: T, next: T) => boolean)
  excerpt?: boolean
  extendBlogData?: <T = any>(page: T) => Record<string, any>
}

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

7

Version

1.0.0-beta.89

License

MIT

Unpacked Size

10.4 kB

Total Files

20

Last publish

Collaborators

  • pengzhanbo