docs: 更新文档首页导航按钮和修复导入路径
- 将首页的“快速开始”按钮文本改为“开始使用” - 移除“API 文档”导航按钮以简化首页布局 - 修复管理后台中 package.json 的导入路径错误
This commit is contained in:
@@ -170,7 +170,7 @@ import { ref, onMounted, watch, provide, computed } from "vue";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
import { logoutAdmin, fetchDomainList } from "../../api/admin";
|
||||
import { useTheme } from "../../composables/useTheme";
|
||||
import packageJson from "../../../../package.json";
|
||||
import packageJson from "../../../package.json";
|
||||
|
||||
const DOMAIN_STORAGE_KEY = "cwd_admin_domain_filter";
|
||||
const API_BASE_URL_KEY = "cwd_admin_api_base_url";
|
||||
|
||||
@@ -9,11 +9,8 @@ hero:
|
||||
alt: 文档封面
|
||||
actions:
|
||||
- theme: brand
|
||||
text: 快速开始
|
||||
text: 开始使用
|
||||
link: /guide/getting-started
|
||||
- theme: alt
|
||||
text: API 文档
|
||||
link: /api/overview
|
||||
- theme: alt
|
||||
text: Github
|
||||
link: https://github.com/anghunk/cwd
|
||||
|
||||
Reference in New Issue
Block a user