@vuepress/plugin-blog

Blog plugin

Install

yarn add -D @vuepress/plugin-blog
# OR npm install -D @vuepress/plugin-blog

Usage

module.exports = {
  plugins: ['@vuepress/blog'] 
}

Options

postsDir

  • Type: string
  • Default: _posts

categoryIndexPageUrl

  • Type: string
  • Default: /category/

tagIndexPageUrl

  • Type: string
  • Default: /tag/
  • Type: string
  • Default: /:year/:month/:day/:slug

Configures the permalink generated for blog posts. See Permalinks for a list of valid variables.