β οΈThe
vite-plugin-ssrproject has been renamed Vike.
- If you are already using vite-plugin-ssr then migrate to Vike.
- For new projects, don't use vite-plugin-ssr but use Vike instead.
π§ Control
Use any UI framework (React, Vue, Svelte, Solid, ...) and any tool you want (any frontend library, web technology, deploy environment, Vite plugin, ...).
With vite-plugin-ssr, you integrate tools manually and keep architectural control.
π¦ Zero-config
vite-plugin-ssr gives you control only where it matters.
Everything else just works without the need to configure anything.
π« Simple
With vite-plugin-ssr you integrate tools manually; while it means more work, it gives you a fundamentally simpler & more stable foundation to build upon.
The clean cut between vite-plugin-ssr and your UI framework (React/Vue/...) makes reasoning about your app easier.
Full-fledged
Filesystem Routing, Data fetching, Pre-rendering, Layouts, HMR, i18n, Link Prefetching, HTML Streaming.
Client Routing (fast page navigation) or Server Routing (simple architecture).
All render modes: SSR, SPA, MPA, SSG, HTML-only. Each page can use a different mode.
π Deploy anywhere
Deploy anywhere (Vercel Serverless/Edge/ISR, Cloudflare Workers, AWS EC2/Lambda, Netlify Functions/Edge, Firebase, Google Cloud, ...).
Pre-render your app and deploy it to any static host (Netlify, GitHub Pages, Cloudflare Pages, ...).
Fits Cloudflare Workers's small worker size requirement like a glove.
π Rock-solid
The source code of vite-plugin-ssr has no known bugs, every release is assailed against a heavy suite of automated tests, and it's used in production by many compΒanies.
π Scalable
DX that scales to hundreds of kLOCs with HMR & development startup that stays fast. Powered by Vite .
Architectural flexibility that scales from small hobby projects to large-scale enterprise projects.
β‘ Fast
State-of-the-art performance with Code Splitting, Client-side Routing, Link Prefetching, and Fast Production Cold Starts.
Lighthouse Score: 100%.
π Fun
vite-plugin-ssr is simple, clear, and robust: no magic, no unexpected behavior, no conflation, no bugs (known in vite-plugin-ssr's source code).
With vite-plugin-ssr, you are under control which is addictively fun.
Build Your Own Framework
Use vite-plugin-ssr to Build Your Own Framework. Hundreds of lines of code are enough to build your own Next.js / Nuxt.
Build internal company frameworks to scale your teams, or enhance your product with a bespoke framework to delight your users, or just keep architectural control.
β€ Craftsmanship
Crafted with attention to details and care for simplicity.
Upstream contributions to Vite and others.
GitHub and Discord conversations are welcome.
β Cutting Edge
We regularly participate in RFCs and we are usually among the first to support the latest techniques.
Explore how it's like to use vite-plugin-ssr
vite-plugin-ssr is free and open source, made possible by wonderful sponsors.