@contentful/timeline-preview
v1.1.1
Published
Base SDK for building a timeline preview with Contentful
Keywords
Readme
⚠️ Timeline is only available on selected plans
Timeline
- Timeline enables marketers to plan and preview multiple upcoming content updates with ease. Each entry in the content model can hold several future versions, helping teams coordinate releases over time.
- This package exposes some utilities to parse the timeline token in the preview URL.
Installation
Install the package:
npm install @contentful/timeline-previewHow it works
- Setup your preview URL to contain the
{timeline}token - Add
@contentful/timeline-previewto your application - Use
parseTimelinePreviewTokento get the information from the{timeline}token - For more details about the CPA / GraphQL setup please have a look here
