Foldkit
Source:
src/Prisma/Website/Foldkit.ts
Deploy a Foldkit Vite application to Prisma Compute with SPA routing. The project’s Foldkit Vite plugin drives the build; native Vite HMR runs during development without creating cloud resources.
Creating a Website
Section titled “Creating a Website”const site = yield* Prisma.Website.Foldkit("Web", { rootDir: "./app",});Multi-Page Routing
Section titled “Multi-Page Routing”const site = yield* Prisma.Website.Foldkit("Web", { assets: { notFoundHandling: "404-page" },});