Entry
The uploaded output should contain index.html at the expected level so the preview has a clear starting point.
Limited-time offerPro & Max plans — 20% offSave 20% on monthly and yearly billing.
Save 20% on monthly and yearly billing.
For the static build
A Vite project is usually source code until it is built. When the immediate job is to show the frontend to a reviewer, build the project locally, package the generated output, and publish the exact static files as a preview link.
Review lens
A static preview can only show what made it into the build. Keep the source workflow and the review artifact separate.
The uploaded output should contain index.html at the expected level so the preview has a clear starting point.
Generated CSS, JavaScript, images, fonts, and other files must keep the paths produced by the build.
If the project uses a configured base path, verify the generated URLs against the preview location before sharing.
A real moment for the page
Give a product manager or designer a link to inspect a Vite UI branch without opening the development environment.
Share the generated dist output for a focused content, layout, and browser smoke check before a formal deploy.
Send a static Vite build to a client or partner when the interface is ready to discuss but not ready for production.
Why this handoff works
The link represents the files Vite generated, not a source folder that still needs npm install, a dev server, or a build step.
Use a ZIP preview for the next conversation while the team decides whether the project needs a full hosting pipeline.
Opening the built output in a fresh browser exposes missing assets and base-path problems before production launch.
A three-step workflow
Run the Vite build command from the project’s normal workflow and locate the generated dist directory.
Zip the contents that include index.html and the generated asset folders. Do not upload package.json and src as a substitute for a build.
Open the HTMLShare URL, test the route, assets, responsive layout, and client-side interactions, then send the link for review.
Know the boundary
HTMLShare publishes browser-ready static output. Keep builds, source tools, private access, live data, and production operations in the systems built for them.
Build the project in your local or CI workflow first. HTMLShare publishes the resulting static output.
Server routes, environment variables, API secrets, SSR, and backend behavior are not provided by a static preview link.
Move the approved build to production hosting when it needs a permanent domain, monitoring, cache strategy, or release workflow.
Keep exploring
Read the build-and-upload guide.
Open pageApply the same local-build handoff.
Open pageKeep generated files together.
Open pageConnect the build to a review loop.
Open pageCompare preview and deployment.
Open pageBefore you publish
No. Run the Vite build in your usual development or CI workflow, then upload the generated static output.
Upload the built output containing index.html and its generated assets, usually the contents of dist packaged as a ZIP.
Check the project base path, the ZIP folder level, and the generated asset URLs. The preview must contain the same relative structure produced by the build.
Ready for the next review
Create a noindex preview link for the static HTML or ZIP project, then move approved work to production when it is ready.