You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: Implement specifically running production tests only for Turbopack. Enabling this now enables running `test/integration` with development mode too.
100
99
test-integration-production:
101
-
name: Next.js production integration test (Integration)
However, slots are **not**[route segments](/docs/app/building-your-application/routing#route-segments) and do not affect the URL structure. For example, for `/dashboard/@analytics/views`, the URL will be `/dashboard/views` since `@analytics` is a slot.
67
+
However, slots are **not**[route segments](/docs/app/building-your-application/routing#route-segments) and do not affect the URL structure. For example, for `/@analytics/views`, the URL will be `/views` since `@analytics` is a slot.
68
68
69
69
> **Good to know**:
70
70
>
@@ -95,7 +95,7 @@ Consider the following folder structure. The `@team` slot has a `/settings` page
95
95
height="930"
96
96
/>
97
97
98
-
When navigating to `/dashboard/settings`, the `@team` slot will render the `/settings` page while maintaining the currently active page for the `@analytics` slot.
98
+
When navigating to `/settings`, the `@team` slot will render the `/settings` page while maintaining the currently active page for the `@analytics` slot.
99
99
100
100
On refresh, Next.js will render a `default.js` for `@analytics`. If `default.js` doesn't exist, a `404` is rendered instead.
101
101
@@ -183,31 +183,31 @@ For example, the `@analytics` slot has two subpages: `/page-views` and `/visitor
183
183
184
184
Within `@analytics`, create a [`layout`](/docs/app/building-your-application/routing/pages-and-layouts) file to share the tabs between the two pages:
Copy file name to clipboardExpand all lines: docs/02-app/02-api-reference/02-file-conventions/default.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Consider the following folder structure. The `@team` slot has a `settings` page,
21
21
height="930"
22
22
/>
23
23
24
-
When navigating to `/dashboard/settings`, the `@team` slot will render the `settings` page while maintaining the currently active page for the `@analytics` slot.
24
+
When navigating to `/settings`, the `@team` slot will render the `settings` page while maintaining the currently active page for the `@analytics` slot.
25
25
26
26
On refresh, Next.js will render a `default.js` for `@analytics`. If `default.js` doesn't exist, a `404` is rendered instead.
0 commit comments