mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
docs: fix website redirect (#11097)
This commit is contained in:
@@ -36,6 +36,12 @@ export default {
|
||||
htmlMeta: {
|
||||
'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: {
|
||||
'zh-CN': {
|
||||
title: 'Vant 4',
|
||||
|
Reference in New Issue
Block a user