Handling exceptions while using file-based routing #2489
Closed
yoonminsang
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
you can configure this via either see https://tanstack.com/router/latest/docs/framework/react/guide/file-based-routing#options |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using file based routing. But I want to create a non-router file in the routes folder. For example, if there are many subcomponents or hooks in a file called signup.tsx, it is natural to separate the files.
Of course, there is also a way to create a component in a folder like pages and connect it to the routes folder. However, I don't want codegen to be automatically activated when folders like _except, _compoennts, and _hooks are added to routes.
How about a function that blocks codegen for files in a specific folder in the plugin? I'm curious about your thoughts
Beta Was this translation helpful? Give feedback.
All reactions