From 0126eae8a2268ff3fdf963032fd11595959b1635 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni <6173598+dpschen@users.noreply.github.com> Date: Fri, 25 Oct 2024 08:51:12 +0200 Subject: [PATCH] docs: improve example line wrapping (#2374) --- packages/docs/guide/essentials/named-views.md | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) 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 + } } - }] + ] } ```