From: Dominik Pschenitschni <6173598+dpschen@users.noreply.github.com> Date: Fri, 25 Oct 2024 06:51:12 +0000 (+0200) Subject: docs: improve example line wrapping (#2374) X-Git-Tag: v4.5.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0126eae8a2268ff3fdf963032fd11595959b1635;p=thirdparty%2Fvuejs%2Frouter.git docs: improve example line wrapping (#2374) --- diff --git a/packages/docs/guide/essentials/named-views.md b/packages/docs/guide/essentials/named-views.md index 80ea993b..2312baa4 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 + } } - }] + ] } ```