Kiranism / next-shadcn-dashboard-starter

Admin Dashboard Starter with Nextjs14 and shadcn ui
https://next-shadcn-dashboard-starter.vercel.app
MIT License
1.43k stars 302 forks source link

Routing #17

Closed juliusoh closed 2 months ago

juliusoh commented 2 months ago

How does / path route represent (auth)/(signin)/page.tsx?

Kiranism commented 2 months ago

@juliusoh Well, () brackets should not be considered by the routing system. Some prefer (), some prefer _file. Basically, this path represents "/" and not "/auth/signin.

https://nextjs.org/docs/app/building-your-application/routing/colocation#private-folders