Replies: 3 comments
-
|
I have also been searching for this exact thing. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Yes! React Router v7's Framework Mode offers static pre-rendering. I use it for my portfolio website. I even have it set up so that markdown documents are processed and used to generate pages at build time. All I have to do to add a new article/blog post is to drop a new .md file into the correct folder. Repo here. I've been able to get Lighthouse scores of 99+ across the board by statically pre-rendering my routes
React Router's docs are ok, but feel free to reference my repo if you get stuck. I'm considering writing an article on the process (and how to deploy to Github Pages) if anyone is interested |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks
I am trying to prerender all my pages at build time to generate a static html site (not spa). I came across this page from the https://vitejs.dev/guide/ssr.html page.
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions