We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cee65b commit 12beff7Copy full SHA for 12beff7
contributors.yml
@@ -319,3 +319,4 @@
319
- yuleicul
320
- zeromask1337
321
- zheng-chuang
322
+- vladinator1000
docs/start/framework/routing.md
@@ -153,6 +153,24 @@ export default [
153
] satisfies RouteConfig;
154
```
155
156
+To see `projects/home.tsx` appear in the layout, we'll need an outlet:
157
+
158
+```tsx filename=./projects/project-layout.tsx lines=[8]
159
+import { Outlet } from "react-router"
160
161
+export default function ProjectLayout() {
162
+ return (
163
+ <div>
164
+ <aside>Example sidebar</aside>
165
+ <main>
166
+ <Outlet />
167
+ </main>
168
+ </div>
169
+ )
170
+}
171
172
+```
173
174
## Index Routes
175
176
```ts
0 commit comments