Documentation
¶
Overview ¶
Package ui holds the built admin frontend.
By default it embeds admin-frontend/build, which `npm run build` in admin-frontend produces and which is not committed, so it must exist before this package compiles. A host embedding Studio through pkg/studio from a module download has no build directory: it compiles with the studio_noui build tag, which embeds only a placeholder page, and serves the release's UI assets through studio.Options.UIAssets.
Index ¶
Constants ¶
const Embedded = embedded
Embedded reports whether FS holds the real frontend rather than the studio_noui placeholder.
Variables ¶
var FS fs.FS = mustSub(files, root)
FS is the built admin frontend rooted at its build directory: index.html, static/, logos/ and the root-level assets.
Functions ¶
This section is empty.
Types ¶
This section is empty.