Building dynamic routes from remote data (start-manifest-plugin error)
Hello! Iโm tinkering with Start to free my team from Next.js
I want to programmatically create routes based on data from a remote service, such as a CMS, using the same page template for every route.
Initially, I attempted this with virtual file routes:
but without the
I am now trying to disable route generation and manually build the route tree. This approach works wonderfully during development but fails during builds with:
I left a repro here with my setup: https://github.com/carloitaben/repro-tanstack-start-serve-manifest
Is there any other way of achieving this without having to create route files?
I want to programmatically create routes based on data from a remote service, such as a CMS, using the same page template for every route.
Initially, I attempted this with virtual file routes:
but without the
verboseFileRoutes option, the createFileRoute path argument gets replaced in an infinite loop (React Router v7 solves this problem by passing an unique id per route).I am now trying to disable route generation and manually build the route tree. This approach works wonderfully during development but fails during builds with:
I left a repro here with my setup: https://github.com/carloitaben/repro-tanstack-start-serve-manifest
Is there any other way of achieving this without having to create route files?
GitHub
Contribute to carloitaben/repro-tanstack-start-serve-manifest development by creating an account on GitHub.