Files
OKF_CV_Website/knowledge/decisions/static-nuxt-in-gateway.md
T

726 B

type, title, description, tags, status, generated
type title description tags status generated
Decision Static Nuxt served by the gateway Nuxt is generated to static files and embedded in the gateway image instead of running as its own pod.
decision
nuxt
go
stable
by at
claude-code/claude-opus-5-5 2026-10-11T12:15:30Z

Decision

Build with nuxt generate, embed the output in the gateway with go:embed.

Why

  • One less Deployment, no Node runtime in the cluster.
  • One public service, same origin for the site and /api, so no CORS.
  • The life map can still render from its data file when the live stream fails.

Cost

Frontend and gateway release together in one image.

Revisit when

The site needs server-side rendering per request.