Skip to content

Commit

Permalink
docs: redirect from the old domain (#5811)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Jun 2, 2024
1 parent c6b4004 commit e5af691
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vant.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ export default {
},
syncPathFromSimulator: false,
},
icpLicense: {
text: '浙ICP备2021036118号',
link: 'https://beian.miit.gov.cn/',
},
headHtml: `<script>
if (location.host === 'youzan.github.io') {
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
}
</script>
`,
links: [
{
logo: 'https://img.yzcdn.cn/vant/vant-o.svg',
Expand Down

0 comments on commit e5af691

Please sign in to comment.