Set up Expo Router
index.tsx
and app/_layout.tsx
.
Get the File Path
Remove app Directory
Remove Group Indicators
Replace index
(home)/index
and (carts)/index
won’t work because they would both resolve to the same URL, which is not possible.(home)/index
and (carts)/index
won’t work because they would both resolve to the same URL, which is not possible.