VercelDeployer
The VercelDeployer
class handles deployment of standalone Mastra applications to Vercel. It manages configuration, deployment, and extends the base Deployer class with Vercel specific functionality.
Usage example
src/mastra/index.ts
import { Mastra } from "@mastra/core/mastra";
import { VercelDeployer } from "@mastra/deployer-vercel";
export const mastra = new Mastra({
// ...
deployer: new VercelDeployer()
});