Closed matteodem closed 7 months ago
It really depends on the frontend framework you're using. This is an example for Next.js: https://www.datocms.com/docs/next-js/setting-up-next-js-draft-mode
Do you have an example with svelte? Thanks for merging btw
Thanks, but that doesn't work with web previews. I need the draft mode on a specific route without redirects. Do you have an example for that?
@sistrall do we have anything ready?
@matteodem we don't have anything ready at the moment, I'm sorry.
Do you have an example of a
/api/start-preview-mode
route that renders a preview mode? Seems to be missing in the docs.