Skip to content

Commit 0126eae

Browse files
authored
docs: improve example line wrapping (#2374)
1 parent e2272bb commit 0126eae

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

packages/docs/guide/essentials/named-views.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,19 @@ Then you can achieve the layout above with this route configuration:
7878
path: '/settings',
7979
// You could also have named views at the top
8080
component: UserSettings,
81-
children: [{
82-
path: 'emails',
83-
component: UserEmailsSubscriptions
84-
}, {
85-
path: 'profile',
86-
components: {
87-
default: UserProfile,
88-
helper: UserProfilePreview
81+
children: [
82+
{
83+
path: 'emails',
84+
component: UserEmailsSubscriptions
85+
},
86+
{
87+
path: 'profile',
88+
components: {
89+
default: UserProfile,
90+
helper: UserProfilePreview
91+
}
8992
}
90-
}]
93+
]
9194
}
9295
```
9396

0 commit comments

Comments
 (0)