Skip to content

Vocs

Source: src/Prisma/Website/Vocs.ts

Vocs documentation and its Waku RSC handler on Prisma Compute. Install Vocs and its Waku peers alongside the framework integration.

Native framework development and HMR run without Prisma cloud resources. Apply Alchemy.remote() to use the live Compute deployment during dev. Packaging requires the optional @vercel/nft peer dependency.

const site = yield* Prisma.Website.Vocs("Web", {
rootDir: "./app",
});
const site = yield* Prisma.Website.Vocs("Web", {
project,
domain: "www.example.com",
env: { API_BASE: "https://api.example.com" },
compute: { destroyOldDeployment: true },
});