Skip to content

Commit

Permalink
docs: improve example line wrapping (#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpschen authored Oct 25, 2024
1 parent e2272bb commit 0126eae
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions packages/docs/guide/essentials/named-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,19 @@ Then you can achieve the layout above with this route configuration:
path: '/settings',
// You could also have named views at the top
component: UserSettings,
children: [{
path: 'emails',
component: UserEmailsSubscriptions
}, {
path: 'profile',
components: {
default: UserProfile,
helper: UserProfilePreview
children: [
{
path: 'emails',
component: UserEmailsSubscriptions
},
{
path: 'profile',
components: {
default: UserProfile,
helper: UserProfilePreview
}
}
}]
]
}
```

Expand Down

0 comments on commit 0126eae

Please sign in to comment.