Live Preview Vue

Vue composable that wires a Payload Live Preview into a Vue frontend

Official 45,915 2.8k/wk MIT v3.94.0

Installation

pnpm add @payloadcms/live-preview-vue

About

Live Preview Vue is the Vue composable for Payload Live Preview. Drop it into a Vue component that renders a Payload document, and the component updates in place as an editor changes fields in the admin panel, without a page reload.

The composable returns reactive data and a loading flag. The loading flag lets you show a placeholder until the first live update arrives, so the page does not flicker between the server-rendered content and the draft. Requests for related documents can be routed through a custom handler, which is useful when your frontend needs to attach its own headers or go through a proxy.

Package info

Package name
@payloadcms/live-preview-vue
Latest version
3.94.0
Unpacked size
12 kB
License
MIT
Weekly downloads
2.8k
Last publish
Nov 17, 2026

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

Adds a parent field and breadcrumbs to collections so documents can nest inside each other

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

React hook and refresh component for Payload Live Preview in frontend apps

React admin bar that puts Payload editing controls on your frontend pages

Client SDK that streams live Payload draft edits into a frontend preview

Renders Lexical rich text content from Payload in Astro sites

Manifest, linter and Payload block generator for a design system's components

CLI and registry that installs wired Payload blocks into Next.js projects