I want to change active page,
In vue file I used like this <paginate v-model="page">
data () {
return {
page: 1 // default value
}
}
to change the active page, I cannot use $route query params, as am sending /?offset=10 or 20
instead of 1 or 2, so how can I change v-model page to show the active page ?
I want to change active page, In vue file I used like this
<paginate v-model="page"
>to change the active page, I cannot use
$route query params
, as am sending /?offset=10 or 20 instead of 1 or 2, so how can I change v-model page to show the active page ?