Guide for preview in Next js still in client v5

Anyone have a example on how to implement preview, I have tried to follow the guide in the docs, but seems like the setup has changed in @prisimc/client v6?

I hope someone can point me in the right direction.

Thanks!

Hi Kristian,

For Next.js right now it's best to stay on v5 of the client, we will release updated docs in a couple of weeks which will include a much easier preview implementation that uses client v6.

Although if you really want to update to v6 right now, then the following thread will take you through the changes to implement that.

Thanks.

Thanks Phil for getting back. I'll try and implement with v5 then.

1 Like