drophost
Host a Vite app on drophost
- Zip dist/ with index.html
- No Node runtime
- Named subdomain recommended
How to do it
1. Build the Vite app
Produce a dist folder with index.html.
2. Zip dist/
Include assets so relative paths work.
3. Drop it on Website
Use a named subdomain for asset paths.
Export first
drophost serves static files only. Server middleware, API routes, and SSR adapters will not run. A client-rendered SPA or SSG export with index.html, JS, CSS, and hashed assets is the right fit. Confirm the build opens locally before you upload the zip.
Asset paths
Use a named drophost.space subdomain (or a custom domain on paid plans) so absolute paths like /assets/index.js resolve correctly. Root-relative assets break on anonymous paths; named hosts keep Vite’s default base working for previews and stakeholder demos.
Iterate without a new link
Replace the dist zip on the same project when you fix a bug or tweak UI. Reviewers keep one bookmark through critique rounds. Agents can call publish_site through MCP with an API key; humans can upload in the browser with no git connection required.
Common questions
Can I host a Vite app on drophost?
Yes. Zip a static Vite build with index.html and host it on drophost. There is no Node runtime.
Will Vite SSR work?
No. drophost only supports static browser builds.
Do I need git?
No. Browser upload to drophost is enough—no git required.
Related
Ready to publish?
Drop a file on the homepage and get a live drophost URL in seconds.