SolidStart
Source:
src/Prisma/Website/SolidStart.ts
SolidStart SSR and prerendered assets on Prisma Compute. The integration owns the Nitro plugin; omit nitroV2Plugin() from vite.config.* and configure prerendering through nitro.
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.SolidStart("Web", { rootDir: "./app",});Deployment Configuration
Section titled “Deployment Configuration”const site = yield* Prisma.Website.SolidStart("Web", { project, domain: "www.example.com", env: { API_BASE: "https://api.example.com" }, compute: { destroyOldDeployment: true },});