diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a1b99cea4..630a95182 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -48,7 +48,14 @@ module.exports = { }, { text: 'Guides', - link: '/guides/' + link: '/guides/', + items: [ + { + text: '2.x-beta', + link: + 'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html' + } + ] }, { text: 'Upgrading to V1', @@ -77,7 +84,14 @@ module.exports = { }, { text: '教程', - link: '/zh/guides/' + link: '/zh/guides/', + items: [ + { + text: '2.x-beta', + link: + 'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html' + } + ] } ], sidebar: [ @@ -102,7 +116,14 @@ module.exports = { }, { text: 'ガイド', - link: '/ja/guides/' + link: '/ja/guides/', + items: [ + { + text: '2.x-beta', + link: + 'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html' + } + ] } ], sidebar: [ @@ -127,7 +148,14 @@ module.exports = { }, { text: 'Руководства', - link: '/ru/guides/' + link: '/ru/guides/', + items: [ + { + text: '2.x-beta', + link: + 'https://vuejs.github.io/vue-test-utils-next-docs/guide/introduction.html' + } + ] } ], sidebar: [ diff --git a/docs/README.md b/docs/README.md index 663952c8b..8ef71b49c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,5 +1,9 @@ # Introduction +::: warning +This doc is for Vue2.x only. If you want to see docs related to 3.x, please move to [here](https://vue-test-utils.vuejs.org/v2/guide/introduction.html) +::: + Vue Test Utils is the official unit testing utility library for Vue.js.
Learn how to test Vue.js components with Vue School
diff --git a/docs/zh/README.md b/docs/zh/README.md index edd46eb1b..33af22d52 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -1,5 +1,9 @@ # 介绍 +::: warning +本文档基于 Vue2.x,新版本文档请移步至[这里](https://vue-test-utils.vuejs.org/v2/guide/introduction.html) +::: + Vue Test Utils 是 Vue.js 官方的单元测试实用工具库。
在 Vue School 学习如何测试 Vue.js 组件