ui/client/features/live-preview/components/LivePreviewNotes
Cockpit client (features), next. Source: ui/client/features/live-preview/components/LivePreviewNotes.tsx.
Variables#
PLUGIN_LINE#
constPLUGIN_LINE:"plugins: [constructPreview(), react()]"='plugins: [constructPreview(), react()]'
Defined in: ui/client/features/live-preview/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/live-preview/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" | "appErrorSrc" | "onDismissAppError" | "onShowInSource">
Returns#
Element