Documentation
¶
Overview ¶
Package admin embeds the static commerce admin SPA into the commerce binary.
The SPA is built from /Users/z/work/hanzo/commerce/app/admin via Next.js `output: 'export'` (static bundle in /app/admin/out). The build is copied into /admin/dist by the Dockerfile, then go:embed'd here and served at /admin/* by commerce.go's router.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Static embed.FS
Static is the embedded admin bundle. The actual files come from /admin/dist which the Dockerfile populates from the Next.js export.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.