Octane
Source:
src/Prisma/Website/Octane.ts
Octane SSR and client assets on Prisma Compute. Select node() from @alchemy.run/frontend-frameworks/octane/node-adapter in the project’s octane.config.ts.
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.
Creating a Website
Section titled “Creating a Website”const site = yield* Prisma.Website.Octane("Web", { rootDir: "./app",});Deployment Configuration
Section titled “Deployment Configuration”const site = yield* Prisma.Website.Octane("Web", { project, domain: "www.example.com", env: { API_BASE: "https://api.example.com" }, compute: { destroyOldDeployment: true },});