mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 10:22:44 +08:00
[Doc] add nav link (#408)
This commit is contained in:
parent
96e3bf74e8
commit
d8284b3e71
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<van-doc :config="config" simulator="./preview.html">
|
||||
<van-doc :config="config" simulator="./preview.html" active="小程序组件">
|
||||
<router-view />
|
||||
</van-doc>
|
||||
</template>
|
||||
|
@ -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: [
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user