Next.js route groups
13 June 2025 (Updated 13 June 2025)
You can create a route group by creating a folder name wrapped in parenthesis such as (admin)
and (marketing)
.
This indicates the folder is for organization purposes and shouldn’t be included in the route’s URL path:

Tagged:
Next.js