Preview feature for dynamic routes Nextjs

Hello,
I'm using Nextjs as SSG on Vercel and I've connected the deployment with Prismic Webhooks.

So when The content management team creates a Prismic page for all dynamic routes ex. /blogs/[id] We can't preview them on the website because the page is not been published yet so the route is not defined in the GetStaticPaths function... I'm using ex. client.getAllByType('blogs') function to get all the documents from Prismic which does not provide the unpublish pages

Is there any solution to fix the preview issue for the unpublish pages
Thanks!!

Hi @mouaz.al-molkey ,

This shouldn't be a blocker for the preview system. Can you tell me more about your preview setup, your route resolver, your node modules versions, maybe you can share your code with us?

Thanks.