next.js icon indicating copy to clipboard operation
next.js copied to clipboard

docs(examples): use vercel integration in cms-sanity

Open stipsan opened this issue 2 years ago • 0 comments

Feature

  • [x] Documentation added

Documentation / Examples

This PR updates the cms-sanity example to:

  • Deploy to Vercel with the Sanity Vercel Integration by default.
  • You can still opt-out of using the Sanity Vercel Integration, clicking You can also set up manually gives you all the information you need.
  • The blog itself is updated so it's much more resilient to missing data, and is setup to set revalidate: 60 until you have a On-demand Revalidation webhook setup.
  • Preview Mode is now enabled on the frontpage as well.
  • The Sanity client setup, and webhook validation, are updated to follow our current best practices.

stipsan avatar Aug 04 '22 12:08 stipsan