Deploy to Netlify
Netlify is a straightforward host for an exported Lediv project. You do not need it to go live, because Publish serves the project in seconds. This guide is for hosting it somewhere else.
Start with a Lediv export
In the editor, click Download project in the Publish panel or the Files panel. That ZIP is what you deploy.
Choose a Netlify deploy method
Git-based deploy
- Unzip the export and push it to a Git repository.
- Create a new site in Netlify and import that repository.
-
Review the settings and deploy. For Vite projects Netlify usually suggests
npm run buildanddiston its own.
To update the site, push a new export to the repository and Netlify deploys it again.
Manual deploy (Netlify Drop)
Use it to publish quickly without a Git repository.
-
Unzip the export and build it locally, which creates the output folder (usually
dist). - Open Netlify Drop or the dropzone on the Deploys page in Netlify.
- Drop only the build output folder.
Upload the build output, not the source. Dropping pages/ or
components/ deploys files nobody can read as a site. To update, rebuild and drop
the new output folder again.
After the first deploy
Netlify gives you a live URL right away. You can add a custom domain later in its domain settings.