#Parentheses dir names

1 messages · Page 1 of 1 (latest)

pseudo vortex
#

What does parentheses dir names mean/do in Next 13 app dir?

lost lynxBOT
#

Hi @pseudo vortex. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

In Next.js 13, wrapping a folder's name in parentheses within the app directory creates a route group. The convention for creating a route group is as follows:

(folderName)

However, the provided extracts do not give more details about the behavior or purpose of route groups. You can find more information in the Next.js documentation (https://beta.nextjs.org/docs/routing/defining-routes).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: