multiple layout

Routes folter
(auth).tsx
(auth)
--signin
--signup
(dashboard).tsx
(dashboard)
--index (default home page)
(auth).tsx
(auth)
--signin
--signup
(dashboard).tsx
(dashboard)
--index (default home page)
I found this works. The default index page is in dashboard folder. I'm confusing now. Parenthesis are used to rename index page, but, in my case, I have both (auth).tsx and (dashboard).tsx. Why the dashboard worked?
0 Replies
No replies yetBe the first to reply to this messageJoin