T
TanStack2mo ago
absent-sapphire

How to get get RouteNods

I need help with fixing this issue prendring does not prerender pages that are not linked I have a draft pr here The issue I am facing is that, I need to know the current existing paths in the pre-rendering step, so I am using Generator, but when do generator.run() it changes the routeTree.gen.ts file, which should not be the case, turns out the issue, is that I don't have the same config as when it was in the build step, or at least I am not sure how to get the same config. another solution is to not let generator write, still not 100% sure how to do that. or if someone know how to get the existing paths without using the generator Thanks
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?