- Create a entry with necessary fields.
- Create next.config.js using the next.config.sample.js
- Using Contentstack API, fetch that entry.
- Using post messages, initialize live preview and listen for the live preview hash.
- Make an API call for the upadted entry with received Hash value and content_type_uid.
- Update the state.
This is a POC of how to use Live Preview using Contentstack API using Next js.