🔧 Control

Control how your pages are rendered, and use any view framework (React, Vue, Svelte, ...) and any tool you want (Vuex/Redux/Storeon, RPC/REST/GraphQL, React/Vue Query, PWA, Service Workers, other Vite plugins, ...).

Manually integrate tools in a simple and natural way.

Full-fledged

Filesystem Routing, Data fetching, Pre-rendering (SSG), HMR, i18n, Link Prefetching, HTML Streaming.

Client Routing (fast page transitions) or Server Routing (simple architecture).

All render modes: SSR, SPA, SSG, HTML-only. Each page can use a different mode.

💫 Simple

With vite-plugin-ssr you integrate tools manually instead of using a plugin system; while it means more work, it gives you a simpler and more sturdy foundation to build upon.

The clean cut between vite-plugin-ssr and your view framework (React/Vue/...) makes reasoning about your app easier.

💎 Rock-solid

The source code of vite-plugin-ssr has no known bug, every release is assailed against a heavy suite of automated tests, it's used in production by many comp­anies, and it's stable: the v1 release will most likely have no breaking change with the current v0.3.x releases.

🌍 Deploy anywhere

Works with any server environement (Vercel, Cloudflare Workers, AWS EC2, AWS Lambda, 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.

High-performance

Browser-side: Code Splitting (each page loads only the code it needs), Client Routing (pages loaded & rendered only on the browser-side upon page navigation), Link Prefetching (preload preponderant links for instantaneous page navigation), Lighthouse Score: 100%.

Fast Node.js cold start: pages are lazy-loaded so that adding pages doesn't increase the cold start of your serverless functions.

🚀 Scalable

DX that scales to hundreds of kLOCs — HMR & dev start stays fast.

Architectural flexibility that scales from small hobby projects to large-scale enterprise projects.

Craftmanship

Crafted with attention to details and care for simplicity.

Upsteam contributions to Vite and others.

GitHub and Discord conversations are welcome.

💖 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), no breaking changes (as far as we can see).

With vite-plugin-ssr, you are under control; it's addictively fun.

Framework Engine

Use vite-plugin-ssr to build frameworks.

You want to build an internal framework for you company? Or you want to build a Next.js alternative? Use vite-plugin-ssr to jump-start with a rock-solid foundation.


Have a question? Want a feature? A tool integration is not working? Join our Discord or open a GitHub ticket.


Explore how it's like to use vite-plugin-ssr