Skip to content

creating folder in create-tsrouter-app's files based routing #3525

Closed Answered by schiller-manuel
Ali-Milani-13 asked this question in Q&A
Discussion options

You must be logged in to vote

navigating to /posts gives you not fount.

don't see that happening in your example.

the _layout.tsx doesn't do anything. there's no output from it.

yes because you need to nest the routes as described in the docs:

https://tanstack.com/router/v1/docs/framework/react/guide/route-trees

If you do that, it works as expected:

Ali-Milani-13/some-test#1

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@Ali-Milani-13
Comment options

@schiller-manuel
Comment options

@Ali-Milani-13
Comment options

@schiller-manuel
Comment options

Answer selected by Ali-Milani-13
@Ali-Milani-13
Comment options

@schiller-manuel
Comment options

@Ali-Milani-13
Comment options

# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants