Why editors need Strapi live preview and when to set it up
Editors who change content in the admin panel usually cannot see how an unpublished draft will look on the site, so they either publish to check or ask a developer to preview it for them. Strapi preview closes that gap by opening your front end with draft content, so an editor can review a page in context before it goes live. Strapi offers two preview modes. Full-screen preview opens the front-end page in its own view, while side-by-side Live Preview shows the page beside the entry form and refreshes as fields change. The side-by-side mode is tied to the Growth and Enterprise plans, so the plan choice shapes what editors see from day one. Confirm the current plan details with the vendor before you commit.
Invest in preview wiring before launch when editors will review pages for accuracy, when several editors share one site, or when layouts are hard to judge from fields alone, such as dynamic zones or localized pages. Teams that launch with only the entry form often receive the first preview request after the first live error. Plan the preview endpoint as part of the front-end build, because it determines how your site fetches draft data, which routes can render unpublished content and who can reach them. Name the owner of that endpoint before the build starts, so access and caching decisions are not left to whoever writes the code first.
This page is written for the team deciding how to build preview. It covers two front-end targets: Next.js, using its draft mode, and Nuxt. The build decisions sit with the front-end lead, the Strapi owner and whoever sets the plan budget, so bring those people into the first discussion. The sections that follow move from the decision to the wiring, the plan limits that apply to each preview mode, and the checks to run before editors depend on the feature.
Full-screen preview or side-by-side Live Preview: which plan fits
The Community Edition is free and has no user cap, so it suits teams that want to test preview wiring before paying for anything. On this plan, editors use full-screen preview, which opens the rendered draft in its own view instead of a side-by-side layout beside the editing form. The plan includes REST and GraphQL APIs and unlimited entries and API calls, so the preview build is not limited by the license.
- Cost: The license is free, so spend goes to hosting, the front-end build and the developer time that wires the draft route.
- Users: Unlimited users means every editor can preview without a per-seat charge.
- Limit: Plan around full-screen preview only, with no side-by-side view of the form and the rendered page on this tier.
- Security: Preview routes still need a secret and permission checks in your own code, because the license does not add them.
Check that your preview token and draft route behave the same way on a fresh Community install before you build editorial habits around them.
Growth is the plan tied to side-by-side Live Preview in this topic, and the self-hosted pricing page lists it at 45 US dollars per month including 3 users, with 15 dollars for each extra user. The same page says Growth includes REST and GraphQL APIs, unlimited entries and API calls, and content history and releases, while SSO is an add-on on this tier. Those are the lines to budget against.
- Base fee: 45 US dollars per month covers 3 users. Illustrative example: a team of 6 editors would add 3 extra seats at 15 dollars each, bringing the license to 90 dollars per month.
- Recurring cost: Subscription and seat fees recur monthly, while wiring the preview into Next.js or Nuxt is largely one-time build work.
- Content history: Included from Growth, so editors can compare earlier versions alongside their preview checks.
- SSO: An add-on on Growth, so add its cost if administrators sign in through a corporate identity provider.
Ask Strapi to confirm in writing that side-by-side Live Preview is included at your seat count and plan before the build starts.
Enterprise is custom priced, so its cost comes only from a quote. The pricing page lists audit logs and review workflows as Enterprise features on the self-hosted plans, and SSO is included at this tier. For organizations where editorial approval and admin accountability must be recorded, these controls often decide the plan more than the preview feature does.
- Governance: Review workflows and audit logs are Enterprise features, which matters when approvals and admin actions need a record alongside preview use.
- SSO: Included in Enterprise, so administrator sign-in through corporate identity needs no separate add-on line.
- Live Preview: Confirm whether side-by-side Live Preview on Enterprise matches Growth or adds anything, because the topic brief places it on both plans.
- Quote scope: Ask for a written quote covering seats, support and any hosting items, since no Enterprise figure is listed publicly.
Take your review workflow and audit requirements into the quote so the price reflects the controls your editors and compliance team actually need.
Preview features and plan boundaries can change between Strapi 5 releases, and the minor releases ship roughly weekly, so the answers to these questions should come from Strapi and not from older blog posts. Put the answers in writing before you choose a plan or commit a build schedule to a preview design.
- Plan mapping: Which plan includes side-by-side Live Preview for a self-hosted instance, and does the answer change when the front end is Next.js or Nuxt?
- Seat count: How many users does the quote assume, and what does each extra user add per month?
- Add-ons: Which SSO, support or hosting items are charged on top of the base plan?
- Version fit: Does the preview feature apply to the Strapi 5 release you plan to deploy, and what is your upgrade path if it changes?
Reconfirm each answer against the current pricing page before signing, because listed prices and plan contents can change.
Preview configuration options and when each fits
This table compares the four preview approaches covered on this page: Next.js draft mode, a Nuxt preview route, full-screen preview and side-by-side Live Preview. Read each row to see what the front end must provide, what editors see and which plan and team setup fit. Confirm exact settings and plan entitlements in the current Strapi documentation before you commit.
| Approach | What the front end requires | What editors see | When it fits |
|---|---|---|---|
| Next.js draft mode | A preview secret, a preview route that enables draft mode, and fetch logic that reads draft content when draft mode is on | The front end rendered with unpublished content for the entry they opened, typically in a separate browser tab | Next.js sites where editors accept a preview tab and the team can maintain the draft-mode route |
| Nuxt preview route | A preview route that receives the document reference and requests draft data from the Strapi API instead of published data | The Nuxt page rendered with draft content for the selected entry, usually in a separate tab | Nuxt sites with a small number of previewable content types and a team that owns the route logic |
| Full-screen preview | A preview URL configured in the content type settings that points to the front-end route | The front end filling the browser window, opened from the entry editing view on any plan that includes the feature | Teams that need a basic preview on the free Community plan and can work with a separate page view |
| Side-by-side Live Preview | A front-end route that reloads on edits and a configured preview URL, plus Growth or Enterprise plan access | The editing form and the rendered page next to each other, updating as fields change | Editorial teams on Growth or Enterprise that edit layout-heavy pages and need to check changes as they type |
| Plan requirement | Confirm the self-hosted plan that includes each option in the current pricing page | Editors may see different preview options depending on their plan and roles | Ask the vendor to confirm which options each plan includes before choosing a design |
| Access and drafts | The preview route must restrict access to draft content and use secrets that are not exposed to the public | Only users with permission to view drafts can see unpublished data through preview | Required for every approach; confirm the access model with your security team |
Setup sequence for preview with Next.js or Nuxt
This sequence takes a Strapi project from confirming its version and plan to editors previewing unpublished changes in the admin panel, with a check at each stage so the team knows preview works without altering what visitors see. It is written for the developers who wire the front end and the admin owner who configures preview URLs.
Confirm Strapi version and plan
A developer on the project confirms the Strapi major version in the project's package manifest and checks the plan in use, because the preview experience differs between the free plan and Growth or Enterprise. Side-by-side Live Preview is a paid feature, so if the team is on the free plan, the design must assume full-screen preview only. Confirm the Node.js version against the Strapi installation requirements. Done when the team has written down the version, the plan, and the preview mode it will get.
Map preview URLs per content type and locale
The front-end lead and the content modeler agree on a URL pattern for each content type that has a public page, such as a route per slug, and decide how locale appears in the path. Record which content types have no public page and therefore need no preview route. Include the locale segment for any type that uses Strapi internationalization. Done when a written table lists each content type, its route pattern, and its locale handling, and a sample entry from each type maps to one expected URL.
Build the preview route that reads draft data
A front-end developer adds a preview route to the Next.js or Nuxt application. The route accepts a secret and a document identifier, requests the draft version of the entry from the Strapi API with a read token, and renders it. The token must be scoped to read only what editors need, and it must be stored as a server-side secret, never exposed to the browser. Done when a request to the route with a valid secret returns a page showing a draft-only title that does not appear on the live site.
Enable draft mode in Next.js or the Nuxt equivalent
In Next.js, the developer enables draft mode from the preview route so that subsequent page requests bypass static cache and fetch draft content. In Nuxt, the team implements the equivalent session or cookie-based switch in its server routes and disables caching for preview requests. The route must reject requests without the secret and must provide a way to exit preview. Done when a visitor who enters preview sees draft content, and a visitor without the cookie or secret still sees published content.
Configure the preview URL in the admin panel
An administrator opens the content type settings in the Strapi admin panel and enters the preview URL for each type, including the secret and document parameters the route expects. Confirm that the preview button opens the correct page for a sample entry in each locale. Keep the secret out of shared documentation and rotate it through the environment configuration when needed. Done when the preview button in the admin panel opens the matching draft page for every content type in the mapping table.
Test drafts against published content
The QA owner creates a draft change to a sample entry, opens it in preview, and confirms the unpublished text appears. Then the owner loads the public URL for the same entry without preview and confirms the published text is unchanged. Repeat for one entry per locale and one entry with a relation or component, since those often break in preview. Record any mismatch as a defect before go-live. Done when the draft shows in preview, the published page is identical to its pre-test state, and every locale and relation case has been checked.
How the draft request reaches the front end
When an editor clicks preview in the Strapi admin panel, the admin builds a link to a preview route on the front end and passes the document identifier, the content type and a status or secret parameter. The front end then does three things in order: it checks the secret, enables draft mode in Next.js (or the equivalent preview state in Nuxt), and fetches the draft version of the requested document through the Strapi API. Only after that fetch succeeds should the page render. The preview route is the trust boundary, so the secret check must happen before draft mode is switched on, and the front end should reject requests that arrive without it.
Strapi 5 changed how drafts are read. The Document Service API addresses content by document, and the status query parameter selects between draft and published versions, which replaced the older publicationState parameter. A front end that still requests published content will show the live site, not the editor's changes, even when the preview route itself works. Confirm in your own build which parameter each query sends, and check that the public and preview data-fetching functions are separate so a draft never leaks into the production build. Check the exact parameter names against the current Strapi v4 to v5 migration guide before you write the fetch layer.
The API token used for the draft fetch is the other control to plan. Drafts are only returned if the role behind the token can read them, so a token with public-only permissions will return published content or nothing. Use a dedicated read token for preview, limit it to the content types that appear in preview, store it as a server-side secret, and never expose it to the browser. Test the flow with an editor account and with an anonymous visitor, because a preview link that works for an editor should show nothing to someone who opens the same URL without the secret.
How preview requests move between the admin panel, Strapi and the front end
The editor starts in the Strapi admin panel, which opens a preview link on the front-end preview route. That route checks a shared secret before it enables draft mode for the session. It then asks the Strapi content API for draft fields, while the published site keeps reading only published content from the same API. Check that the secret and API token stay on the server side of each boundary.
Preview requests cross two trust boundaries before draft content renders.
Security risks in preview routes and draft tokens
A preview route is a second way into unpublished content, and it sits next to the public site on the same front end. The cards below cover the places where draft data, preview tokens and caches can leak, with the control to apply at each point.
Draft content on public routes
A preview route that also serves draft data from a public URL lets anyone who guesses the path read unpublished entries. Preview mode should be enabled only through a route that checks a server-side secret before it sets draft mode, and the draft read should happen only inside that handler. Check that a plain request to the public page with no secret returns published content only. Keep the preview route gated by a server-side check on every request.
Preview tokens in URLs and logs
Preview links often carry a secret or token as a query parameter, which then appears in browser history, reverse proxy access logs, analytics tools and referrer headers. Exchange the token once in the preview handler, set a short-lived cookie or draft mode flag, and redirect to a clean path. Confirm that your proxy and front-end logs redact or omit the query string for preview requests.
Weak or shared preview secrets
A preview secret that is short, reused across environments or copied into client-side code lets anyone who finds it enable draft mode. Generate a long random value per environment, store it in your secret manager, and keep it out of the admin panel and the browser bundle. Rotate it when people with access leave the team, and treat the Strapi API token used for draft reads as a separate credential with its own scope.
Draft data cached into public pages
Draft responses cached by a CDN, a static build or a shared server cache can be served to every visitor after the preview session ends. Mark preview responses as non-cacheable, keep draft fetches out of the static generation path, and purge any cache that received draft content. Test by loading a preview page, then requesting the same public URL from a fresh session and checking that no draft text appears.
Who can open preview
In Strapi, the admin account that clicks a preview button decides what the front end can read, so role permissions in the admin panel are part of the preview security model. Review which roles can read draft versions of each content type, and confirm that editors without publish rights cannot reach draft fields they should not see. Use the admin SSO and role settings to limit preview access to the groups that need it, and remove access when someone changes roles.
Draft reads with broad API permissions
A front-end token with read access to every content type and field can expose draft data through any route that calls the API, not only the preview page. Scope the token to the content types the preview needs, set field-level permissions where supported, and review the token whenever the schema changes. Document which permissions the preview token has so your security review can compare them with what editors actually need.
Questions teams ask before building Strapi preview
How much does it cost to build Strapi preview with Next.js or Nuxt?
The build cost follows from the written scope, and DeployOpen does not publish prices. The main drivers are how many content types need preview, how many front-end routes map to them, whether preview must work across locales, and how much of the editing experience your team expects inside the admin panel. Ask for a quote that separates one-time work (preview routing, draft mode or Nuxt setup, access checks, testing) from recurring work (framework upgrades, Strapi upgrades, hosting). The Strapi plan you choose is a separate line item, covered in the plan question below.
How long does a Strapi live preview integration take to build?
Duration depends on scope, not on a fixed template. A single content type with one preview route is a much smaller job than a multi-site setup with several locales, nested components and dynamic zones. Your team's familiarity with Next.js draft mode or Nuxt, and the readiness of your front-end hosting, also change the schedule. Ask for a timeline in the written scope that lists each content type, each route and each environment to be covered, and the test steps that mark completion.
What does our team need to provide for a preview build?
Plan to supply access and decisions before the build starts. Typical inputs include the Strapi project repository and a staging environment, the front-end repository and a non-production deployment, the list of content types editors use, and the URL pattern each page uses in production. You will also need an owner who can approve which editors see drafts and who signs off the preview behavior. Without these, the build stalls at the first environment question.
Can our editors or internal developers build Strapi preview without a partner?
Yes, a team with Strapi and front-end experience can build preview in-house. The work is mostly configuration in the admin panel and the front-end app, plus a secret shared between the two systems. What usually causes trouble is access control: draft content must stay behind authentication, and the preview endpoint must not expose published-only data as drafts or the reverse. Assess whether your team has that security review capacity. An outside partner can take on the build, the testing or both, with the scope agreed in writing first.
Which Strapi plan do we need for Live Preview?
Full-screen preview is the baseline, while side-by-side Live Preview in the admin panel is the feature that requires a higher plan. Per the Strapi self-hosted pricing page, the Community edition is free with unlimited users, Growth is listed at 45 US dollars per month including 3 users with 15 dollars per extra user, and Enterprise is custom priced. Confirm current feature placement on the Strapi self-hosted pricing page before purchase, because plan contents change. Ask your vendor to confirm which plan includes each preview mode for your deployment.
Will Strapi upgrades break our preview setup?
Upgrades can affect preview because the response format and the content APIs changed between major versions. Strapi 5 replaced the Entity Service API with the Document Service API and changed the API response format, and the migration docs describe a Strapi-Response-Format: v4 header for compatibility during migration. Your front-end queries and draft-mode checks must match the response shape your Strapi version returns. Keep preview tests in your upgrade plan, and back up the database first, because the migration docs say downgrading is not supported.
What breaks most often in Next.js draft mode or Nuxt preview?
The most common failures are a preview secret that differs between Strapi and the front end, draft requests that fall back to published content, and preview URLs that point at the wrong environment after a deployment. Also check that the front end requests drafts with the correct status parameter for Strapi 5, and that cache layers do not serve a published page to an editor who expects a draft. Test each content type and locale, and include a check that unauthorized visitors cannot open a draft preview URL.
Keeping preview working after upgrades and launch
Preview is the part of a Strapi build that most often breaks without anyone noticing, because a schema change or a Strapi minor release can leave the published site working while draft rendering quietly fails. Treat preview as a monitored feature with its own regression checks in the release process, not as a setup task that is finished at launch. Strapi 5 minor releases have shipped roughly weekly, so the first decision is whether your team will test a candidate version against a staging instance before it reaches production, and who signs off on the result.
Build the regression check around the draft path itself. Keep a short list of editor-visible journeys: open a draft entry from the Content Manager, confirm the preview link loads the draft and not the published version, check that a field added in the last sprint renders, and confirm that a dynamic zone with a new component appears. Run these checks in staging after each Strapi upgrade and after each front-end framework bump, including Next.js draft mode or the Nuxt preview route you configured. Read the Strapi GitHub releases notes for each version you adopt, paying attention to anything touching the Content Manager, the preview integration or the Document Service API, because those changes are the ones that reach your front end. Confirm the exact behavior of your installed version in your own environment rather than relying on memory of earlier releases.
Monitor preview routes the way you monitor the public site. Log errors from the preview endpoint, alert on spikes in failed draft requests, and record which front-end build is serving preview so that a failed preview can be traced to a deployment. Preview secrets need a rotation procedure too: store the secret in your secrets manager, rotate it on a schedule your security team sets, update the Strapi and front-end environments together, and confirm that editors can still open previews during the cutover window. Ask a partner or internal owner to document who holds the secret, where it is stored and how a rotation is rolled back if it fails.
How DeployOpen scopes and delivers Strapi preview
DeployOpen treats Strapi live preview as a scoped piece of work that connects the Strapi admin panel to the front end your editors actually use. We agree the front-end framework, the plan tier and the preview targets in writing before build starts, then deliver and document the working setup inside your own infrastructure.
How we scope
- Confirm whether the front end is Next.js with draft mode or Nuxt, and which content types need a preview route
- Confirm your Strapi plan, since full-screen preview and side-by-side Live Preview depend on the tier you hold
- List the preview hosts, environments and editor roles that must be able to open unpublished content
- Agree the written scope, deliverables and timeline before any configuration or code changes begin
How we build
- Configure the preview URL and secret for each content type in the Strapi admin panel within your environments
- Wire the front-end preview route to draft mode or the Nuxt preview handler, with draft content fetched only for authorized sessions
- Test preview with draft, published and locale variants, including the handoff from the admin panel to the front end
- Check that preview tokens, CORS settings and draft endpoints are limited to the hosts and roles you approved
How we hand over
- Deliver the configuration, route code and environment variable list as documented, versioned artifacts
- Provide an editor guide that explains what preview shows for each content type and what it does not show
- Walk through the runbook for rotating preview secrets and handling a broken preview route after a deployment
- Record the agreed scope, open items and any Strapi plan limits so the next team can continue the work
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- Retainers can cover preview regressions that follow Strapi 5 minor releases and front-end framework upgrades
- Review preview behavior again when you change plans, add locales or add new content types
- Confirm support terms, response expectations and retainer scope in writing before work starts

