mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] add version tip (#1219)
This commit is contained in:
parent
1a43eb7951
commit
4eb328ae08
@ -1,10 +1,13 @@
|
||||
/* eslint-disable */
|
||||
const version = require('../../package.json').version;
|
||||
|
||||
module.exports = {
|
||||
'zh-CN': {
|
||||
header: {
|
||||
logo: {
|
||||
image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
|
||||
title: 'Vant',
|
||||
version,
|
||||
href: '#/'
|
||||
},
|
||||
nav: {
|
||||
@ -300,6 +303,7 @@ module.exports = {
|
||||
logo: {
|
||||
image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
|
||||
title: 'Vant',
|
||||
version,
|
||||
href: '#/'
|
||||
},
|
||||
nav: {
|
||||
|
@ -91,7 +91,7 @@
|
||||
"style-loader": "^0.21.0",
|
||||
"uppercamelcase": "^3.0.0",
|
||||
"url-loader": "^1.0.1",
|
||||
"vant-doc": "1.0.6",
|
||||
"vant-doc": "1.0.7",
|
||||
"vue": "2.5.16",
|
||||
"vue-jest": "^2.6.0",
|
||||
"vue-loader": "^15.2.4",
|
||||
|
@ -8059,9 +8059,9 @@ validate-npm-package-license@^3.0.1:
|
||||
spdx-correct "^3.0.0"
|
||||
spdx-expression-parse "^3.0.0"
|
||||
|
||||
vant-doc@1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.6.tgz#419f21d2384dcbf41fea1c2dfdd1fd4d453931ba"
|
||||
vant-doc@1.0.7:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.7.tgz#31023f6533e246e9dc388004df03b870591f0687"
|
||||
dependencies:
|
||||
cheerio "0.22.0"
|
||||
decamelize "^1.2.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user