mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
docs: fix website redirect (#11097)
This commit is contained in:
@@ -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',
|
||||||
|
Reference in New Issue
Block a user