Skip to content

@nogoo9/no-crd / index / loadUiHtml

Function: loadUiHtml()

loadUiHtml(distDir, basePrefix?): string

Defined in: src/ui/index.ts:22

Reads the HTML interface bundle from the build target directory. If the asset is missing or not yet built, returns a fallback error UI.

Parameters

distDir

string

Path to the directory where static build assets are located.

basePrefix?

string = ""

Returns

string

Serialized HTML application payload.