mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: changelog
This commit is contained in:
parent
219c2d04d8
commit
9d187add3d
@ -66,7 +66,7 @@
|
||||
"vue": ">= 2.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vant/cli": "^2.11.7",
|
||||
"@vant/cli": "^2.11.8",
|
||||
"prettier": "2.1.0",
|
||||
"vue": "^2.6.12",
|
||||
"vue-template-compiler": "^2.6.12"
|
||||
|
@ -1,5 +1,11 @@
|
||||
# 更新日志
|
||||
|
||||
## v2.11.8 ~ 2.11.9
|
||||
|
||||
`2022-07-17`
|
||||
|
||||
- 新增 `site.headHtml` 配置项
|
||||
|
||||
## v2.11.7
|
||||
|
||||
`2022-05-28`
|
||||
|
@ -19,8 +19,8 @@
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<% if (headHtml) { %>
|
||||
<%- headHtml %>
|
||||
<% if (htmlWebpackPlugin.options.baiduAnalytics) { %>
|
||||
<%- htmlWebpackPlugin.options.baiduAnalytics %>
|
||||
<% } %>
|
||||
<% if (htmlWebpackPlugin.options.usingSearch) { %>
|
||||
<link
|
||||
|
@ -19,6 +19,12 @@ module.exports = {
|
||||
baiduAnalytics: {
|
||||
seed: 'ad6b5732c36321f2dafed737ac2da92f',
|
||||
},
|
||||
headHtml: `<script>
|
||||
if (location.host === 'youzan.github.io') {
|
||||
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
|
||||
}
|
||||
</script>
|
||||
`,
|
||||
htmlPluginOptions: {
|
||||
meta: {
|
||||
'docsearch:version': 'v2',
|
||||
|
@ -1684,10 +1684,10 @@
|
||||
semver "^6.3.0"
|
||||
tsutils "^3.17.1"
|
||||
|
||||
"@vant/cli@^2.11.7":
|
||||
version "2.11.7"
|
||||
resolved "https://registry.npmjs.org/@vant/cli/-/cli-2.11.7.tgz#24742903b0ccbaaddaef5fd9fdad04f749103910"
|
||||
integrity sha512-x9tgHaYfz1Pbi80C3vvgmobpLgHA3V5934/7Xqpz7gmrjSK0z+Qojx/eOioi9xS9pS655j1nbw5pPzz5+5Y/Xw==
|
||||
"@vant/cli@^2.11.8":
|
||||
version "2.11.8"
|
||||
resolved "https://registry.npmmirror.com/@vant/cli/-/cli-2.11.8.tgz#5bb79a87d266d183dbbae6948132f6b64b232252"
|
||||
integrity sha512-TNt0e3L1xMrEtR2tTSrBNnp9Fy+XVee376IbWWIwIL1Xj5y3xg6ECf1iOerXLkshLimRrYLz1Rl9vdSmeoEjfg==
|
||||
dependencies:
|
||||
"@babel/core" "^7.10.1"
|
||||
"@babel/plugin-syntax-jsx" "^7.10.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user