Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Fix typo #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/guide/05-layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Sapper computes the `child` property based on which page the user has navigated

### Nested routes

Suppose we don't just have a single `/settings` page, but instead have nested pages like `/settings/profile` and `/settings/notifications` with a shared submenu (for an real-life example, see [github.com/settings](https://github.com/settings)).
Suppose we don't just have a single `/settings` page, but instead have nested pages like `/settings/profile` and `/settings/notifications` with a shared submenu (for a real-life example, see [github.com/settings](https://github.com/settings)).

We can create a layout that only applies to pages below `/settings` (while inheriting the root layout with the top-level nav):

Expand Down Expand Up @@ -103,4 +103,4 @@ Like page components, layout components can use `preload`:
}
};
</script>
```
```