From 20ac2d1f479e3ac806a2fa4d789ce017746e15ba Mon Sep 17 00:00:00 2001 From: Kim Yang Date: Fri, 13 May 2022 16:54:49 +0800 Subject: [PATCH] docs(zh): update zh docs from en and format some en docs (#1350) Co-authored-by: edison --- docs/.vitepress/components/VueSchoolLink.vue | 16 ++++--- docs/api/index.md | 17 +++---- docs/guide/advanced/navigation-failures.md | 3 +- docs/guide/advanced/navigation-guards.md | 11 ++--- docs/zh/api/index.md | 47 ++++++++++++------- docs/zh/guide/advanced/composition-api.md | 16 +++++-- docs/zh/guide/advanced/data-fetching.md | 1 - docs/zh/guide/advanced/dynamic-routing.md | 5 ++ .../guide/advanced/extending-router-link.md | 14 +++--- docs/zh/guide/advanced/lazy-loading.md | 30 ++++++++++++ docs/zh/guide/advanced/meta.md | 5 ++ docs/zh/guide/advanced/navigation-failures.md | 5 ++ docs/zh/guide/advanced/navigation-guards.md | 21 ++++++++- docs/zh/guide/advanced/scroll-behavior.md | 4 ++ docs/zh/guide/advanced/transitions.md | 19 +++++++- docs/zh/guide/essentials/dynamic-matching.md | 21 ++++++++- docs/zh/guide/essentials/history-mode.md | 5 ++ docs/zh/guide/essentials/named-routes.md | 5 ++ docs/zh/guide/essentials/named-views.md | 5 ++ docs/zh/guide/essentials/navigation.md | 16 ++++++- docs/zh/guide/essentials/nested-routes.md | 5 ++ docs/zh/guide/essentials/passing-props.md | 8 +++- .../zh/guide/essentials/redirect-and-alias.md | 13 +++-- .../guide/essentials/route-matching-syntax.md | 24 ++++++++++ docs/zh/guide/index.md | 5 ++ docs/zh/guide/migration/index.md | 13 +++-- docs/zh/index.md | 17 +++++++ docs/zh/installation.md | 11 ++--- docs/zh/introduction.md | 5 ++ 29 files changed, 290 insertions(+), 77 deletions(-) diff --git a/docs/.vitepress/components/VueSchoolLink.vue b/docs/.vitepress/components/VueSchoolLink.vue index 4a34ac228..028434508 100644 --- a/docs/.vitepress/components/VueSchoolLink.vue +++ b/docs/.vitepress/components/VueSchoolLink.vue @@ -6,17 +6,19 @@ rel="sponsored noopener" :title="title" > - Watch a free video lesson on Vue School + {{ translations[site.lang]}} -