Pagination

9/30/2019

# Introduction

demo.png

Pagination plugin for vuepress-theme-reco or other vuepress theme.

# Name

  • As plugin: @vuepress-reco/vuepress-plugin-pagation
  • As component: Pagation (used in theme development)

# Option API

# total

  • description: total amount of data
  • type: Number
  • default: 10

# perPage

  • description: how many posts per page
  • type: Number
  • default: 10

# currentPage

  • description: current page number
  • type: Number
  • default: 1

# getCurrentPage

  • description: get the current page number
  • type: Function

# Contributors