From d8284b3e710a4ba5db2428b44186f6668ebf556d Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 12 Aug 2018 17:00:50 +0800 Subject: [PATCH] [Doc] add nav link (#408) --- docs/src/App.vue | 2 +- docs/src/doc.config.js | 4 +++- package.json | 2 +- yarn.lock | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/src/App.vue b/docs/src/App.vue index f7adff3e..220e3bc5 100644 --- a/docs/src/App.vue +++ b/docs/src/App.vue @@ -1,5 +1,5 @@ diff --git a/docs/src/doc.config.js b/docs/src/doc.config.js index 03c364b5..23d8aaed 100644 --- a/docs/src/doc.config.js +++ b/docs/src/doc.config.js @@ -10,7 +10,9 @@ module.exports = { href: '#/' }, nav: { - github: 'https://github.com/youzan/vant' + 'Vue 组件': 'https://youzan.github.io/vant/', + '小程序组件': 'https://youzan.github.io/vant-weapp/', + github: 'https://github.com/youzan/vant-weapp' } }, nav: [ diff --git a/package.json b/package.json index f8938764..8dcdacb7 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "shelljs": "^0.8.2", "style-loader": "^0.22.1", "url-loader": "^1.0.1", - "vant-doc": "^1.0.13", + "vant-doc": "^1.0.14", "vue": "2.5.17", "vue-loader": "^15.2.6", "vue-router": "^3.0.1", diff --git a/yarn.lock b/yarn.lock index f23c15eb..219d7b64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6761,9 +6761,9 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -vant-doc@^1.0.13: - version "1.0.13" - resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.13.tgz#d5a6b35fb85e65e0846097f5a90007efa3d485a1" +vant-doc@^1.0.14: + version "1.0.14" + resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.14.tgz#c7f259e5b535b140a7025c6b5397611430551199" dependencies: cheerio "0.22.0" commander "^2.17.1"