From 9e13e719ad7b34bebd2f94d257bc59d92bc20993 Mon Sep 17 00:00:00 2001 From: Godpu Date: Sun, 3 Jan 2021 16:44:41 +0800 Subject: [PATCH 1/2] feat: add translations link --- src/.vuepress/config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 349f49a932..48067bfd4f 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -394,6 +394,15 @@ module.exports = { link: 'https://vue.threadless.com/' } ] + }, + { + text: 'Translations', + link: '#', + items: [{ + text: '中文', + link: 'https://v3.cn.vuejs.org' + } + ] } ], repo: 'vuejs/docs-next', From 25c6146f1a9db4c447afd9763faaae83ab12cbf5 Mon Sep 17 00:00:00 2001 From: Godpu Date: Sun, 3 Jan 2021 16:59:13 +0800 Subject: [PATCH 2/2] chore: format --- src/.vuepress/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 48067bfd4f..45d81474ac 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -398,9 +398,10 @@ module.exports = { { text: 'Translations', link: '#', - items: [{ + items: [ + { text: '中文', - link: 'https://v3.cn.vuejs.org' + link: 'https://v3.cn.vuejs.org/' } ] }