Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / adminHead

Function: adminHead()

adminHead(title?, theme?): string

Defined in: admin/src/theme.ts:68

Full <head> markup for the admin shell. Inject as Layout.head.

With no theme (or theme.cdn !== false) it loads the Tailwind Play CDN. Set theme.stylesheet to link a prebuilt CSS file and drop the CDN — only this file's wiring changes; pages stay identical.

Parameters

title?

string = "Admin"

theme?

AdminThemeConfig = {}

Returns

string