Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Menu_Overview
· 2y ago · 0 comments
Vite Pres has client-side routing, right? Like, it works without JS, but if JS is enabled, it runs as a SPA.
Comments
[–]
NathanKP
2y ago
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.
[–]
synergy20
2y ago
this is where it differs from those SSG I guess, used vitepress a while ago, will reuse it later