Function: serveDashboard() {#function-servedashboard}

serveDashboard(app, uiDir): void

Mount the engine dashboard UI onto an existing Hono app.

This serves index.html at / and any built dashboard assets from uiDir. It does not register API routes; pair it with createDevServer or registerRoutes when building a custom server.

Parameters {#parameters}

app {#app}

Hono

uiDir {#uidir}

string

Returns {#returns}

void