next.js
next.js copied to clipboard
Update cms-contentful example with new Live Preview Integration
Scope
Update the cms-contentful example to use the new Live Preview integration provided by the @contentful/vercel-nextjs-toolkit package.
Changes
- Update the
/api/draftroute to use the handler provided by Contentful - Add a section to the README.md for Draft Mode with Live Preview
- Edit previous Draft Mode section so users understand both are an option.
- Add
@contentful/vercel-nextjs-toolkitpackage
Resources Contentful Integration Docs
Allow CI Workflow Run
- [ ] approve CI run for commit: 5872f17bcb8ae79e6f0f877e07544ff3e5948fa7
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
@delbaoliveira bumping this, let me know how I can help.
Is this a duplicate of https://github.com/vercel/next.js/pull/67233?
Is this a duplicate of #67233?
Yes, working with their team on those features. Want to hold off on merging their PR until later date.
Going to close this as stale, let's combine into one PR?