Skip to content

Commit 1f14975

Browse files
committed
修复默主页异常
1 parent 98c268d commit 1f14975

File tree

6 files changed

+7
-22
lines changed

6 files changed

+7
-22
lines changed

docs/.vitepress/nav.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
module.exports = [
3-
{ text: '文档', link: '/doc/' },
4-
{ text: '组件', link: '/components/'},
5-
{ text: '教程', link: '/course/' },
3+
{ text: '文档', link: '/doc/introduce' },
4+
{ text: '组件', link: '/components/index'},
5+
{ text: '教程', link: '/course/index' },
66
// {
77
// text: '外链地址',
88
// link:

docs/.vitepress/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const sidebar = {
66
children: [
77
{
88
text: '项目介绍',
9-
link: '/doc/index'
9+
link: '/doc/introduce'
1010
},
1111
{
1212
text: '快速开始',
File renamed without changes.

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
home: true
33
heroImage: /ps-logo.png
44
actionText: 开始使用
5-
actionLink: /doc/
5+
actionLink: /doc/introduce
66

7-
altActionText: Learn More
8-
altActionLink: /doc/
7+
altActionText: 基础教程
8+
altActionLink: /course/index
99

1010
features:
1111
- title: 💡 高性能

docs/public/favicon.ico

4.19 KB
Binary file not shown.

docs/public/logo.svg

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)