Skip to content

Commit

Permalink
docs: mention that rest of example follows (#11897)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
  • Loading branch information
eft and benmccann authored Feb 26, 2024
1 parent 4d98369 commit 41bb2c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/docs/20-core-concepts/10-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ We can create a layout that only applies to pages below `/settings` (while inher
<slot></slot>
```

You can see how `data` is populated by looking at the `+layout.js` example in the next section just below.

By default, each layout inherits the layout above it. Sometimes that isn't what you want - in this case, [advanced layouts](advanced-routing#advanced-layouts) can help you.

### +layout.js
Expand Down

0 comments on commit 41bb2c0

Please sign in to comment.