Line

ui/client/features/pages-editor/components/LivePreviewNotes

Cockpit client (features), v0.9. Source: ui/client/features/pages-editor/components/LivePreviewNotes.tsx.

Variables#

PLUGIN_LINE#

const PLUGIN_LINE: "plugins: [constructPreview(), react()]" = 'plugins: [constructPreview(), react()]'

Defined in: ui/client/features/pages-editor/components/LivePreviewNotes.tsx:5

The exact line the target app adds to its Vite config so clicks can be traced back to source.

Functions#

LivePreviewNotes()#

LivePreviewNotes(props): Element

Defined in: ui/client/features/pages-editor/components/LivePreviewNotes.tsx:9

Two cards about the framed app itself (not the server): the preview plugin is not loaded, and the app threw. Neither hides the frame: the app is still there, tree, impact and source keep working.

Parameters#

props

Pick<LivePreviewView, "plugin" | "appError" | "onDismissAppError">

Returns#

Element