1.0.0 • Published 1 year ago

@xmehdi01/vue-pagination-component v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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.

1.0.0

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago