[Beginner] Authorized route with folder bugs out? #1587
Answered
by
SeanCassiere
Ookamini95
asked this question in
Q&A
|
I'm using the above snippet to make auth, my folder structure is this results in a weird and not working since this makes another '/' that conflicts with base index |
Answered by
SeanCassiere
May 16, 2024
Replies: 1 comment 1 reply
|
Would probably need an understanding of the URLs you are looking build, but in essence this is what should be getting created. The All in all, only the following URLs would be created: |
1 reply
Answer selected by
Ookamini95
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would probably need an understanding of the URLs you are looking build, but in essence this is what should be getting created.
The
_private.tsxand_auth.tsxshould have whatever logic and components configured in them, with an<Outlet />rendered where the child route should be shown.All in all, only the following URLs would be created:
localhost:3000/andlocalhost:3000/profile.