Documentation
¶
Overview ¶
Package webapp embeds the compiled Svelte SPA for use by dsc serve --http and the Wails desktop wrapper.
This stub is compiled when the withwebapp build tag is NOT set (e.g. on a fresh checkout without running `make web`). It allows `go build ./...` and `go test ./...` to succeed without the compiled SPA assets in webapp/dist/.
To build with the real SPA embedded:
make web && go build -tags withwebapp ./...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistFS ¶
DistFS returns a stub filesystem for use by Wails's asset server when the compiled SPA is not available (build tag withwebapp is absent).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.