Skip to content

Commit 9952651

Browse files
committed
feat(docs): go to get-started on home
1 parent 4ad927a commit 9952651

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/docs/index.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: home
3+
---
4+
5+
<script setup>
6+
import { ref } from 'vue'
7+
import { useRouter } from 'vitepress'
8+
9+
// 直接跳转到文档
10+
// 不显示主页
11+
const router = useRouter()
12+
router.go("/get-started/")
13+
14+
</script>

0 commit comments

Comments
 (0)