Skip to content

Commit 9bad15b

Browse files
committed
fix: 修正VitePress base路径配置,修复样式文件加载问题
1 parent 160408f commit 9bad15b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/.vitepress/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
title: 'PandaTest',
66
description: '云真机测试平台官方文档',
77
lang: 'zh-CN',
8-
base: '/',
8+
base: '/highqa.github.io/',
99

1010
// 启用暗色模式切换
1111
appearance: 'dark',
@@ -14,14 +14,14 @@ export default defineConfig({
1414
ignoreDeadLinks: true,
1515

1616
head: [
17-
['link', { rel: 'icon', href: '/favicon.ico' }],
17+
['link', { rel: 'icon', href: '/highqa.github.io/favicon.ico' }],
1818
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0' }],
1919
['meta', { name: 'keywords', content: 'cloud testing, mobile testing, automation testing, vue, vuetify' }]
2020
],
2121

2222
themeConfig: {
2323
// https://vitepress.dev/reference/default-theme-config
24-
logo: '/logo.png',
24+
logo: '/highqa.github.io/logo.png',
2525
siteTitle: 'PandaTest',
2626

2727
nav: [

0 commit comments

Comments
 (0)