# Pagination using nuxt

**URL:** <https://community.prismic.io/t/pagination-using-nuxt/2965>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [December 1, 2020, 8:41pm UTC](https://community.prismic.io/t/pagination-using-nuxt/2965 "2020-12-01T20:41:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![csal](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@csal](https://community.prismic.io/u/csal)\
**Post date:** [December 1, 2020, 8:41pm UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/1 "2020-12-01T20:41:53Z")

</div>

Hello again,

I'm currently facing an additional issue, this time with pagination. I was gonna do a regular post in the forums, but I don't know how much of my code you require, so I might as well send it to you. I'm trying to get from one page to another, but I don't have the foggiest idea on how to change the current page to the next or previous one and have the results be updated without refreshing the current page. For both as a page and as a component.

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [December 2, 2020, 3:35pm UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/3 "2020-12-02T15:35:29Z")

</div>

Hey @csal,

Thanks for posting this question.

[Here's an example](https://community.prismic.io/t/find-the-next-and-previous-posts/652) of navigating with "Next post" and "Previous post" in Nuxt.

Let me know if that answers your question. If not, you could send me your whole project as a GitHub repo or a .zip file and give me a little more detail on what you're trying to do, and we can go from there. (You can send that info in a DM if you don't want to share it publicly.)

Sam

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [December 4, 2020, 5:56pm UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/5 "2020-12-04T17:56:48Z")

</div>

Hey @csal,

I got your DM. Thanks for the additional info!

I did a basic example of pagination with Nuxt. This loads the first 20 documents, and then links to a `/page/_num` route with additional documents. Let me know if this is similar to what you're thinking:

> **[samlfair/nuxt-pagination-example](https://github.com/samlfair/nuxt-pagination-example)**
>
> Contribute to samlfair/nuxt-pagination-example development by creating an account on GitHub.

You can see a live demo, here:

> **[pagination](https://boring-curie-961161.netlify.app/)**

Let me know if that addresses your questions at all 🙂 If not, tell me more about what you have in mind.

Best,  
Sam

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 7, 2020, 8:08pm UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/6 "2020-12-07T20:08:58Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:11pm UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/7 "2021-12-09T17:11:16Z")

</div>



---

<div class="post-metadata">

**Author:** ![james0r](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/james0r/32/4065_2.png) [@james0r](https://community.prismic.io/u/james0r)\
**Post date:** [March 5, 2022, 12:37am UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/8 "2022-03-05T00:37:00Z")

</div>

I suggest there be more documentation specifically dedicated to pagination.

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [March 7, 2022, 11:25am UTC](https://community.prismic.io/t/pagination-using-nuxt/2965/10 "2022-03-07T11:25:47Z")

</div>

Hello @james0r

There is documentation related to pagination: [Pagination for results with the REST API - Prismic](https://prismic.io/docs/technologies/pagination-for-results-rest-api).

I have answered you in another thread; I'd love to discuss this with you there. Hence, closing this thread.

Thanks,  
Priyanka
