vite preview

Category: Web App Development

vite preview

Preview the production build locally

Serves the dist output with a static server that mimics production behavior, useful to verify the build before deploying. Run vite build first so dist is up to date. This server is for preview only and not hardened for real traffic.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.