docs: fix website redirect (#11097)

This commit is contained in:
neverland 2022-09-28 21:54:15 +08:00 committed by GitHub
parent c6baa88461
commit a2d1280044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,12 @@ export default {
htmlMeta: {
'docsearch:version': 'v3',
},
headHtml: `<script>
if (location.host === 'youzan.github.io') {
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
}
</script>
`,
locales: {
'zh-CN': {
title: 'Vant 3',