Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
laravel-vue-tailwind-pagination
Advanced tools
![Vue Test Utils - Jest](https://github.com/laravel-vue-tailwind/pagination/workflows/Vue%20Test%20Utils%20-%20Jest/badge.svg)
A Vue.js pagination component for Laravel thats built for Tailwind.
See https://laravel-vue-tailwind.github.io/pagination/
npm install laravel-vue-tailwind-pagination
or
yarn add laravel-vue-tailwind-pagination
import LaravelVuePagination from 'laravel-vue-tailwind-pagination';
Vue.use(LaravelVuePagination);
variants: {
opacity: ['disabled'],
cursor: ['disabled'],
},
Pagination.vue
<laravel-vue-tailwind-pagination
:data="users"
:showNumbers="true">
</laravel-vue-tailwind-pagination>
export default {
data() {
return {
users: {},
}
},
created() {
axios.get("http://laravel.test/api/users")
.then(response => {
this.users = response.data;
})
}
}
Name | Type | Default | Description |
---|---|---|---|
data | Object | {} | The data from paginated AJAX request |
limit | Number | 1 | The pagination limit each side of the middle button. |
size | String | "default" | (optional) Must be default or small or large |
showDisabled | Boolean | true | (optional) Pagination buttons next and previous, do you want them displayed if there is nothing to click? |
showNumbers | Boolean | false | (optional) Pagination show numbered buttons? |
To work on the package locally or to add to the documentation, run the following command:
npm run serve
To run the tests:
npm run test:unit
FAQs
![Vue Test Utils - Jest](https://github.com/laravel-vue-tailwind/pagination/workflows/Vue%20Test%20Utils%20-%20Jest/badge.svg)
The npm package laravel-vue-tailwind-pagination receives a total of 0 weekly downloads. As such, laravel-vue-tailwind-pagination popularity was classified as not popular.
We found that laravel-vue-tailwind-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.