DEV Community

Discussion on: Pagination in Nuxt

Collapse
 
toddmorey profile image
Todd Morey • Edited

Most solutions that I've come across use a combination of limit() and skip() to achieve paginated results. (I do wish something easier to implement was built in to the content module.)

And you're on to something when you are thinking about pulling the current position from the page params.

Here's a decent example of that in action:
github.com/nuxt/content/issues/293

Collapse
 
cguttweb profile image
Chloe • Edited

Ah cool I'll have a look and read up on skip I do remember that being mentioned in posts I've read and the watch query. Thanks.