Discover Vercel preset for Nitro!
Preset: vercel
(switch to this preset)
After your project has been imported and deployed, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the Production Branch (commonly “main”) will result in a Production Deployment.
Learn more about Vercel’s Git Integration.
Preset: vercel-edge
(switch to this preset)
It is possible to deploy your nitro applications directly on Vercel Edge Functions.
Vercel Edge Functions allow you to deliver content to your site's visitors with speed and personalization. They are deployed globally by default on Vercel's Edge Network and enable you to move server-side logic to the Edge, close to your visitor's origin. Edge Functions use the Vercel Edge Runtime, which is built on the same high-performance V8 JavaScript and WebAssembly engine that is used by the Chrome browser. By taking advantage of this small runtime, Edge Functions can have faster cold boots and higher scalability than Serverless Functions. Edge Functions run after the cache, and can both cache and return responses. Read More
In order to enable this target, please set NITRO_PRESET
environment variable to vercel-edge
.
You can provide additional build output configuration using vercel.config
key inside nitro.config
. It will be merged with build-in auto generated config.