File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,18 @@ export default defineUserConfig({
24
24
} ) ;
25
25
} ,
26
26
27
+ // index.html中注入 head
28
+ head : [
29
+ [
30
+ "link" ,
31
+ { rel : "stylesheet" , href : "https://cdn.jsdelivr.net/npm/@docsearch/css@3" }
32
+ ] ,
33
+ [
34
+ "script" ,
35
+ { src : "https://cdn.jsdelivr.net/npm/@docsearch/js@3" }
36
+ ]
37
+ ]
38
+
27
39
// 和 PWA 一起启用
28
40
// shouldPrefetch: false,
29
41
} ) ;
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ export default hopeTheme({
142
142
143
143
// docsearch 搜索插件选项
144
144
docsearch : {
145
- appId : "KH7SY7AEUO" ,
146
- apiKey : "f3ac81adcd737c02a0602fdf7bf1b217" ,
145
+ appId : "5IEUZKNR4Z" , // " KH7SY7AEUO",
146
+ apiKey : "a29731e9944983920c342f45a82f80a4" , // " f3ac81adcd737c02a0602fdf7bf1b217",
147
147
indexName : "imlyk" ,
148
148
locales : {
149
149
"/" : {
You can’t perform that action at this time.
0 commit comments