How do we use isolated file-based router in monorepo packages? #4058
Replies: 3 comments 1 reply
-
|
We have a monorepo and I have the same concern. I'm playing with symlinks but the webpack plugin doesn't seem to traverse them at the moment. |
Beta Was this translation helpful? Give feedback.
-
|
Looking at this a bit more I believe their docs cover this in a way. link With an example of it's usage here The gist is use regular file based routing as needed. To load file based routes from another location you can utilize |
Beta Was this translation helpful? Give feedback.
-
|
Same problem, the nextjs can support resolve with patch |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to achieve modular structure with turborepo. I want to have 'packages' (which I'm calling 'modules' in the repo). How can I make 'each' module have a routes folder and have one central app which combines all the routes folder in app/web using tanstack rotuer.
Beta Was this translation helpful? Give feedback.
All reactions