Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tjventurini/vuepress-plugin-zengarden-pagination

Pagination for your VuePress blog 🚀
https://github.com/tjventurini/vuepress-plugin-zengarden-pagination

Last synced: 10 days ago
JSON representation

Pagination for your VuePress blog 🚀

Awesome Lists containing this project

README

        

# VuePress Plugin Zengarden Pagination

Provides pagination for your VuePress blog 🚀

## Installation

```bash
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.

```javascript
['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.

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