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
foreign-sapphire•9mo ago
with start you can do prerendering natively
exotic-emeraldOP•9mo 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
foreign-sapphire•9mo ago
what is not working here?
extended-salmon•9mo 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.
inland-turquoise•9mo ago
@BenHouston3D where you able to figure out how to use mdx with start?