diff --git a/packages/docs/guide/essentials/named-views.md b/packages/docs/guide/essentials/named-views.md index 80ea993b3..2312baa4b 100644 --- a/packages/docs/guide/essentials/named-views.md +++ b/packages/docs/guide/essentials/named-views.md @@ -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 + } } - }] + ] } ```