Open
Description
Revive https://vite-plugin-ssr.com/react-tour / https://vite-plugin-ssr.com/vue-tour.
Content ideas:
- Showcase the
ssr: boolean
toggle.- See also If
ssr: false
is set for all pages then automatically pre-render them #2107 - Mention this:
We believe having a bunch of static
index.html
is an anti-pattern in a context of a framework. It makes sense for Vite because it's always SPA. But with Vike you can simply usessr: boolean
to toggle between SPA and SSR without modifying your code — that's very helpful if you don't know yet whether you need SSR or not. With a bunch of staticindex.html
files, toggling between SPA and SSR becomes a lot more complex.
- See also If