Deploy to Cloudflare
Cloudflare Pages is another solid 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.
Export from Lediv
In the editor, click Download project in the Publish panel or the Files panel. That ZIP is what you deploy.
Choose a Cloudflare Pages method
Choose before you create the project. A Pages project created with Git integration cannot switch to Direct Upload later, and the reverse is also true.
Git integration
- Unzip the export and push it to a Git repository.
- Create a new Pages project and import that repository.
-
If asked, set
npm run buildas the build command anddistas the output directory, then deploy.
Direct Upload
Direct Upload takes prebuilt assets. Build locally first, then upload the build output as a ZIP or a folder by drag and drop, or give the Wrangler CLI the folder path.
After deployment
Cloudflare gives you a live URL after a successful deployment. You can add a custom domain in the project settings. To update, push a new commit or upload a new build, depending on the method you chose.