Skip to content

xmehdi01/vue-pagination-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

vue-pagination-component πŸ’«

A simple and customizable Vue.js pagination component.



Installation βš™οΈ

npm i @xmehdi01/vue-pagination-component

Component using πŸš€

<template>
  <div>
      <!-- Render your table here -->
    <pagination-component
      :items="items"
      :per-page="perPage"
      @page-changed="currentPage = $event"
    />
  </div>
</template>

<script>
import PaginationComponent from "@xmehdi01/vue-pagination-component";

export default {
  name: "App",
  components: {
    PaginationComponent,
  },
  data() {
    return {
      // Your data array goes here
      items: [],
      perPage: 3,
      currentPage: 1,
    };
  },
};
</script>

License πŸ“

This component is licensed under the MIT License.

About

πŸ“— Pagination component in Vuejs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published