1.0.5 • Published 2 years ago

vue3-pagination-component v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Pagination Component for Vue.js

A pagination component for Vue.js that allows you to easily add pagination to your app.

Installation

To install the component, run the following command:

$ npm install vue3-pagination-component

Usage

To use the component, import it into your Vue.js app and add it to your template:

<template>
  <pagination-component v-model="currentPage" :total="totalPages" :per-page="15"/>
</template>

<script>
import PaginationComponent from 'vue3-pagination-component'
export default  {
  components: {
    PaginationComponent
  },
  data ()  {
    return  {
      totalPages: 10
    }
  },
}
</script>

Props

  • total: The total number of pages to display in the pagination component.
  • per-page: (Optional) The number of items to display per page. Default is 15.

License

This component is open source and released under the MIT License.

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago