Purpose & Overview
Registers VercelBlobProvider into StorageService, enabling serverless and edge-compatible asset uploads directly to Vercel Blob storage.
Installation & Setup
1
Install the package
bash
bun veap add @veap/vercel-blob-plugin2
Register in lib/veap.ts (or auto via lib/plugins.gen.ts)
lib/veap.ts
typescript
// lib/veap.ts
import { Application } from "@veap/kernel";
import vercelBlobPlugin from "@veap/vercel-blob-plugin";
export const app = Application.configure()
.withStorage()
.withPlugins([vercelBlobPlugin])
.create();Keep in mind
- Requires the `BLOB_READ_WRITE_TOKEN` environment variable from your Vercel project dashboard.
- Replaces the LocalStorageProvider in StorageService with serverless cloud object storage on Vercel.
- Fully compatible with @veap/media-plugin for direct asset and media uploads.
Dependencies
Veap Kernel
@veap/kernel (^0.1.0)
Required Veap Plugins
NPM Packages
@vercel/blob@^0.27.0lucide-react@^1.27.0
Authors & Maintainers
Veap Core Team
Maintainer