mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: fix website redirect (#11097)
This commit is contained in:
parent
f90a2f1611
commit
a1c859dc10
@ -36,6 +36,12 @@ export default {
|
|||||||
htmlMeta: {
|
htmlMeta: {
|
||||||
'docsearch:version': 'v4',
|
'docsearch:version': 'v4',
|
||||||
},
|
},
|
||||||
|
headHtml: `<script>
|
||||||
|
if (location.host === 'youzan.github.io') {
|
||||||
|
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
`,
|
||||||
locales: {
|
locales: {
|
||||||
'zh-CN': {
|
'zh-CN': {
|
||||||
title: 'Vant 4',
|
title: 'Vant 4',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user