Hacker News new | ask | show | jobs
by Menu_Overview 819 days ago
Vite Pres has client-side routing, right? Like, it works without JS, but if JS is enabled, it runs as a SPA.
1 comments

Yep that's right. Every page has it's own statically rendered bundle. But if you have JS on then it can fetch a chunk and rerender the page client side as a SPA.
this is where it differs from those SSG I guess, used vitepress a while ago, will reuse it later