Nuxt preview just shows my apps index page?

Hi,

Struggling to get previews working in localhost.

I have a boilerplate nuxt setup using npx create-nuxt-app and following the prismic nuxt setup instructions.

I created a content type, and a slice and pushed those both to Prismic.

I can use the slicemachine to preview slices locally but when I create a document on prismic and attempt to preview it I just get shown my apps home page (index.vue)

I setup my preview settings in my repository, just using http:localhost:3000 and left the link resolver as /preview

My @nuxt/prismic module is all setup correctly, I've cleared my cookies etc but I cannot preview anything from prismic.

Any ideas why its not working or what I may have missed?

Thanks

Hello @d.sutherland86, welcome to the community.

  • Are you getting any error logs that you can share?
  • Which page are you trying to preview?
  • Does your repeatable page Custom Type have a UID field to generate the URLs?