How Previews work in Next.js

Being able to preview content prior to publishing is a feature every editor should have. With Vercel, previewing your Agility CMS changes on your Next.js site is extremely easy.

When your Agility CMS and Next.js site is configured for Previews, clicking the Preview button on your pages will open up a new tab with your Preview Environment.

A cookie is set to let Vercel know that you are opening this page in Preview Mode. You will notice a handy Preview Bar at the top of your page with a toggler that allows you to switch between Preview and Live Mode to make it easy for you to view your Published Content or Latest Changes.

Screen_Shot_2021-04-09_at_11.56.11_AM.png

Learn how to deploy your Next.js site to Vercel

 

1 out of 1 found this helpful

Comments

2 comments

Please sign in to leave a comment.