Pagination Package #1381
pelevesque
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
Great! Is it for v4 or v5? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a pagination package which makes it easier to create pagination links.
https://github.com/pelevesque-node/paginate
Try it out, and give it a star!
The pagination method in Lucid is great, but it doesn’t give us the power to create our pagination links with super ease.
I created a small NPM module that helps with this. It’s general, so could work without Adonis.
How to Use?
In your controller, something like this:
In your view:
Beta Was this translation helpful? Give feedback.
All reactions