Documentation
¶
Overview ¶
Package web embeds the built frontend (the Vue SPA) into the Go binary so a single `miabi` executable serves both the API and the UI. `dist/` is a build artifact: only a .gitkeep placeholder is committed, so `go build` works even when the UI has not been built.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Assets embed.FS
Assets holds the built SPA under a top-level "dist/" directory, served via Okapi's WebFS with WebConfig{Root: "dist"}. The `all:` prefix keeps dotted files (the .gitkeep placeholder, Vite's occasional dotfiles) in the embed.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.