Vite Plugin HTML Prerender

JSON →
library 0.2.0 ·javascript
verified Jun 4, 2026

Vite.js plugin for pre-rendering HTML for SPAs. Current stable version is 0.2.0, with a low release cadence. It allows pre-rendering specified routes at build time, generating static HTML files to improve SEO and initial load performance. Differentiators include a simple configuration API, support for custom selectors to wait for content, and optional HTML minification via html-minifier. It is designed specifically for Vite and works with both JavaScript and TypeScript projects.