Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🚀
- Host: GitHub
- URL: https://github.com/tjventurini/vuepress-plugin-zengarden-pagination
- Owner: tjventurini
- License: mit
- Created: 2020-05-06T17:44:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T21:14:51.000Z (over 4 years ago)
- Last Synced: 2024-09-16T10:39:30.469Z (2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
}
}]
```