Skip to content

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.

const site = yield* Prisma.Website.Foldkit("Web", {
rootDir: "./app",
});
const site = yield* Prisma.Website.Foldkit("Web", {
assets: { notFoundHandling: "404-page" },
});