1 Reply
In the vite config set the flag
This works for client side rendered (CSR) single page applications (SPA). In case you want to do static site generation (SSG), it's another story, because it's technically done by having server rendering pre-render each page.