@sugarat/create-theme 0.0.105 → 0.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig } from 'vitepress'
|
|
2
2
|
|
|
3
3
|
// 导入主题的配置
|
|
4
|
-
import { blogTheme } from './blog-theme'
|
|
4
|
+
import { blogTheme } from './blog-theme.ts'
|
|
5
5
|
|
|
6
6
|
// 如果使用 GitHub/Gitee Pages 等公共平台部署
|
|
7
7
|
// 通常需要修改 base 路径,通常为“/仓库名/”
|
|
@@ -35,7 +35,9 @@ export default defineConfig({
|
|
|
35
35
|
// 默认文案修改
|
|
36
36
|
returnToTopLabel: '回到顶部',
|
|
37
37
|
sidebarMenuLabel: '相关文章',
|
|
38
|
-
|
|
38
|
+
lastUpdated: {
|
|
39
|
+
text: '上次更新于',
|
|
40
|
+
},
|
|
39
41
|
|
|
40
42
|
// 设置logo
|
|
41
43
|
logo: '/logo.png',
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"serve": "vitepress serve docs"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sugarat/theme": "^0.5.
|
|
13
|
+
"@sugarat/theme": "^0.5.28"
|
|
14
14
|
},
|
|
15
15
|
"directories": {
|
|
16
16
|
"doc": "docs"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"pagefind": "^1.5.2",
|
|
20
|
-
"typescript": "^5.
|
|
21
|
-
"vitepress": "2.0.0-alpha.
|
|
20
|
+
"typescript": "^5.9.3",
|
|
21
|
+
"vitepress": "2.0.0-alpha.20"
|
|
22
22
|
},
|
|
23
23
|
"pnpm": {
|
|
24
24
|
"peerDependencyRules": {
|