Pre-rendering or static generation some part of the routes
Hi folks. Are you guys ever trying to do static generation with Tanstack React Router? I have no luck finding any good reference about it.
I have an app and want to create the help & support page to be static that live within the app. What I've done so far; not much but I just confused to get things right when getting the HTML of the page.
The
/docs/$slug
component is using MDX and I have no issue in local development.
If you have any thought about this, I really appreciate it. Thank you!5 Replies
exotic-emerald•6mo ago
with start you can do prerendering natively
fair-roseOP•6mo ago
is it doable to setup with my existing app? i only need to prerender /docs routes and keep the rest with current single index.html
exotic-emerald•6mo ago
what is not working here?
rival-black•6mo ago
I think it may be worthwhile to have a MDX demo or something. MDX is amazing but it isn't at all clear how to integrate it with Tan STack Start.
afraid-scarlet•6mo ago
@BenHouston3D where you able to figure out how to use mdx with start?