Skip to content

Commit c1da2ed

Browse files
committed
Revert incorrect change to %5FfolderName
1 parent a455a85 commit c1da2ed

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

docs/01-app/01-getting-started/02-project-structure.mdx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -73,28 +73,28 @@ Top-level files are used to configure your application, manage dependencies, run
7373

7474
### Dynamic routes
7575

76-
| | |
77-
| ------------------------------------------------------------------------------------------------------ | -------------------------------- |
78-
| [`[folder]`](/docs/app/api-reference/file-conventions/dynamic-routes#convention) | Dynamic route segment |
79-
| [`[...folder]`](/docs/app/api-reference/file-conventions/dynamic-routes#catch-all-segments) | Catch-all route segment |
80-
| [`[[...folder]]`](/docs/app/api-reference/file-conventions/dynamic-routes#optional-catch-all-segments) | Optional catch-all route segment |
76+
| | |
77+
| --------------------------------------------------------------------------------------------------------- | -------------------------------- |
78+
| [`[folder]`](/docs/app/building-your-application/routing/dynamic-routes#convention) | Dynamic route segment |
79+
| [`[...folder]`](/docs/app/building-your-application/routing/dynamic-routes#catch-all-segments) | Catch-all route segment |
80+
| [`[[...folder]]`](/docs/app/building-your-application/routing/dynamic-routes#optional-catch-all-segments) | Optional catch-all route segment |
8181

8282
### Route Groups and private folders
8383

84-
| | |
85-
| ------------------------------------------------------------------------------ | ------------------------------------------------ |
86-
| [`(folder)`](/docs/app/api-reference/file-conventions/route-groups#convention) | Group routes without affecting routing |
87-
| [`_folder`](#private-folders) | Opt folder and all child segments out of routing |
84+
| | |
85+
| --------------------------------------------------------------------------------- | ------------------------------------------------ |
86+
| [`(folder)`](/docs/app/building-your-application/routing/route-groups#convention) | Group routes without affecting routing |
87+
| [`_folder`](#private-folders) | Opt folder and all child segments out of routing |
8888

8989
### Parallel and Intercepted Routes
9090

91-
| | |
92-
| ------------------------------------------------------------------------------------------- | -------------------------- |
93-
| [`@folder`](/docs/app/api-reference/file-conventions/parallel-routes#slots) | Named slot |
94-
| [`(.)folder`](/docs/app/api-reference/file-conventions/intercepting-routes#convention) | Intercept same level |
95-
| [`(..)folder`](/docs/app/api-reference/file-conventions/intercepting-routes#convention) | Intercept one level above |
96-
| [`(..)(..)folder`](/docs/app/api-reference/file-conventions/intercepting-routes#convention) | Intercept two levels above |
97-
| [`(...)folder`](/docs/app/api-reference/file-conventions/intercepting-routes#convention) | Intercept from root |
91+
| | |
92+
| ---------------------------------------------------------------------------------------------- | -------------------------- |
93+
| [`@folder`](/docs/app/building-your-application/routing/parallel-routes#slots) | Named slot |
94+
| [`(.)folder`](/docs/app/building-your-application/routing/intercepting-routes#convention) | Intercept same level |
95+
| [`(..)folder`](/docs/app/building-your-application/routing/intercepting-routes#convention) | Intercept one level above |
96+
| [`(..)(..)folder`](/docs/app/building-your-application/routing/intercepting-routes#convention) | Intercept two levels above |
97+
| [`(...)folder`](/docs/app/building-your-application/routing/intercepting-routes#convention) | Intercept from root |
9898

9999
### Metadata file conventions
100100

@@ -297,13 +297,13 @@ Next.js supports storing application code (including `app`) inside an optional [
297297
height="687"
298298
/>
299299

300-
## Examples
300+
### Examples
301301

302302
The following section lists a very high-level overview of common strategies. The simplest takeaway is to choose a strategy that works for you and your team and be consistent across the project.
303303

304304
> **Good to know**: In our examples below, we're using `components` and `lib` folders as generalized placeholders, their naming has no special framework significance and your projects might use other folders like `ui`, `utils`, `hooks`, `styles`, etc.
305305
306-
### Store project files outside of `app`
306+
#### Store project files outside of `app`
307307

308308
This strategy stores all application code in shared folders in the **root of your project** and keeps the `app` directory purely for routing purposes.
309309

@@ -315,7 +315,7 @@ This strategy stores all application code in shared folders in the **root of you
315315
height="849"
316316
/>
317317

318-
### Store project files in top-level folders inside of `app`
318+
#### Store project files in top-level folders inside of `app`
319319

320320
This strategy stores all application code in shared folders in the **root of the `app` directory**.
321321

@@ -327,7 +327,7 @@ This strategy stores all application code in shared folders in the **root of the
327327
height="849"
328328
/>
329329

330-
### Split project files by feature or route
330+
#### Split project files by feature or route
331331

332332
This strategy stores globally shared application code in the root `app` directory and **splits** more specific application code into the route segments that use them.
333333

@@ -375,7 +375,7 @@ To opt specific routes into a layout, create a new route group (e.g. `(shop)`) a
375375

376376
### Opting for loading skeletons on a specific route
377377

378-
To apply a [loading skeleton](/docs/app/api-reference/file-conventions/loading) via a `loading.js` file to a specific route, create a new route group (e.g., `/(overview)`) and then move your `loading.tsx` inside that route group.
378+
To apply a [loading skeleton](/docs/app/building-your-application/routing/loading-ui-and-streaming) via a `loading.js` file to a specific route, create a new route group (e.g., `/(overview)`) and then move your `loading.tsx` inside that route group.
379379

380380
<Image
381381
alt="Folder structure showing a loading.tsx and a page.tsx inside the route group"
@@ -389,7 +389,7 @@ Now, the `loading.tsx` file will only apply to your dashboard → overview page
389389

390390
### Creating multiple root layouts
391391

392-
To create multiple [root layouts](/docs/app/api-reference/file-conventions/layout#root-layout), remove the top-level `layout.js` file, and add a `layout.js` file inside each route group. This is useful for partitioning an application into sections that have a completely different UI or experience. The `<html>` and `<body>` tags need to be added to each root layout.
392+
To create multiple [root layouts](/docs/app/api-reference/file-conventions/layout#root-layouts), remove the top-level `layout.js` file, and add a `layout.js` file inside each route group. This is useful for partitioning an application into sections that have a completely different UI or experience. The `<html>` and `<body>` tags need to be added to each root layout.
393393

394394
<Image
395395
alt="Route Groups with Multiple Root Layouts"

0 commit comments

Comments
 (0)