1.0.0 • Published 4 years ago

vuepress-plugin-zengarden-pagination v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

VuePress Plugin Zengarden Pagination

Provides Pagination for your VuePress blog 🚀

Installation

npm i --save-dev vuepress-plugin-zengarden-pagination
# or 
yarn add -D vuepress-plugin-zengarden-pagination

Usage

Add the following to your config.js or index.js file.

['zengarden-pagination']

You should now have this.$pagination available.

Configuration

If you don't have your posts in the default posts directory, or want to change anything else from the default setup, then you can do so.

['zengarden-pagination', {
    title: 'Articles Page #',
    path: '/articles/',
    dist: '/articles/', // TODO: make use of this!
    frontmatter: {
        layout: 'Directory'
    }
}]