Deploy to Vercel
Vercel detects most settings of an exported Lediv project on its own. You do not need it to go live, because Publish serves the project in seconds. This guide is for hosting it somewhere else.
Prepare the project export
In the editor, click Download project in the Publish panel or the Files panel. That ZIP is what you deploy.
Choose a Vercel deploy method
Git import in the dashboard
- Unzip the export and push it to a Git repository.
- Create a new Vercel project and import that repository.
- Review the settings and deploy.
Deploy from local source with Vercel CLI
- Unzip the export and install the Vercel CLI if you do not have it.
- Run
vercelfrom the project root and follow the prompts.
Vercel usually detects the Vite settings. If it asks, the build command is
npm run build and the output directory is dist.
After deployment
Vercel assigns a live URL after the first deployment. Domains and environment settings live in the Vercel project settings. To update, push to Git or run the CLI again.
Vercel does not read a _redirects file. Netlify, Cloudflare Pages
and Lediv do. If your project relies on
redirects, restate them in a vercel.json. The
_redirects file still travels with your export and Vercel simply ignores it.