vaah-vue-pagination

1.1.5 • Public • Published

vaah-vue-pagination

Laravel Pagination Vue.js Component

Please consider starring the project to show your ❤️ and support.

Install

Install with npm:

npm i vaah-vue-pagination

Register the component

import Vue from 'vue'
import VaahVuePagination from 'vaah-vue-pagination'

Vue.component('vh-pagination', VaahVuePagination)

You can pass following props to the vue components:

<vh-pagination 
framework="bulma"
:data="laravelData"
:onPageChange="getLaravelData"
></vh-pagination>

In vue, you will get page variable.

...
methods: {
    // Our method to GET results from a Laravel endpoint
    getLaravelData(page = 1) {
        
    }
}
...

Development Environment

  • Clone the repo
  • Run npm install
  • Run npm run serve

Publish the package

  • Change version in package.json
  • Run npm run build
  • Run npm publish

Support us

WebReinvent is a web agency based in Delhi, India. You'll find an overview of all our open source projects on github.

License

The MIT License (MIT). Please see License File for more information.

Credits:

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.5
    0
    • latest

Version History

Package Sidebar

Install

npm i vaah-vue-pagination

Weekly Downloads

0

Version

1.1.5

License

none

Unpacked Size

45.9 kB

Total Files

6

Last publish

Collaborators

  • webreinvent