Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vuejs-paginate

> 前端框架
Open source

A Vue.js(v2.x+) component for creating pagination.

769 stars0 likes1 views
WebsiteGitHub

About

A Vue.js(v2.x+) component for creating pagination.

vuejs-paginate

A Vue.js(v2.x+) component to make pagination. Inspired by react-paginate.

Easy to use by providing simple api. And you can customize the style of this component by css.

Online demo

Installation

NPM

Install the npm package.

javascript
$ npm install vuejs-paginate --save

Register the component.

  • ES5
javascript
var Paginate = require('vuejs-paginate')
Vue.component('paginate', Paginate)
  • ES6
javascript
import Paginate from 'vuejs-paginate'
Vue.component('paginate', Paginate)

Note: For version


### Value Binding
Use `v-model` to set the selected page number. You can programmatically modify the current page by using this.

```html

  
  

In HTML

Must use kebab-case for props in pure HTML.

Example

JavaScript

javascript
Vue.component('paginate', VuejsPaginate)

new Vue({
  el: '#app',
  methods: {
    clickCallback: function(pageNum) {
      console.log(pageNum)
    }
  }
})

HTML

xml

…

html

  Changed previous button
  Changed next button
  
    
      
      
      
    
  

Demo

You can see the demo for quickly understand how to use this package.

bash
$ git clone [email protected]:lokyoung/vuejs-paginate.git
$ cd vuejs-paginate
$ npm install
$ npm run demo

Check the code from ./demo/index.html and ./demo/App.vue.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptpaginationvuevue-componentsvue2

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架