Foldkit
Source:
src/Hetzner/Website/Foldkit.ts
Deploy a Foldkit app to a Hetzner Cloud Server.
Foldkit apps are client-only Vite projects, so this composite is the
Vite site with SPA fallback to index.html (deep links boot the app
and the Foldkit router takes over).
Creating Foldkit Sites
Section titled “Creating Foldkit Sites”Foldkit App
const site = yield* Hetzner.Website.Foldkit("Website");Project in a Subdirectory
const site = yield* Hetzner.Website.Foldkit("Website", { rootDir: "applications/web",});Single-Page Application Routing
Section titled “Single-Page Application Routing”const site = yield* Hetzner.Website.Foldkit("Website", { assets: { notFoundHandling: "404-page" },});