
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
m24-vue-pagination
Advanced tools
Simple unstyled Vue pagination component.
npm install --save m24-vue-pagination
import pagination from 'm24-vue-pagination'
new Vue({
el: '#app',
data: {
total: 0,
currentPage: 1,
items: [],
},
mounted () {
this.loadData(this.currentPage)
},
methods: {
loadData(page) {
this.currentPage = page
const options = {
params: {
page: this.currentPage
}
}
window.axios.get('/getData', options)
.then(response => {
this.items = response.data.data
this.total = response.data.paginate.total
})
}
},
components: {
pagination
}
})
<body id="app">
<ul class="list-group">
<li class="list-group-item" v-for="item in items">{{ item.name }}</li>
</ul>
<pagination
:total="total"
:page="currentPage"
@page-change="loadData" />
</body>
Name | Type | Default | Required | Description |
---|---|---|---|---|
total | Number | true | Total number of items | |
page | Number | 0 | The current page number | |
perPage | Number | 10 | Number of items per page | |
maxShown | Number | 5 | Number of items shown on each site | |
navBack | String | « | Back indicator (can be HTML, such as svg, icon...) | |
navFront | String | » | Forward indicator (can be HTML, such as svg, icon...) |
Name | Returns | Description |
---|---|---|
page-change | selected page | Event that sends back the selected page |
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
FAQs
Simple Vue.js pagination
The npm package m24-vue-pagination receives a total of 9 weekly downloads. As such, m24-vue-pagination popularity was classified as not popular.
We found that m24-vue-pagination demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.