Skip to content

Commit a080375

Browse files
authored
Add gurubase widget (#116)
1 parent 4a96d4c commit a080375

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/.vuepress/config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,15 @@ export default defineUserConfig({
3737
switchLocale: "modal",
3838
}),
3939
],
40+
41+
head: [
42+
["script", {
43+
async: true,
44+
src: "https://widget.gurubase.io/widget.latest.min.js",
45+
"data-widget-id": "FubGXZNmNkHYTx7lvFf0wLfcENtPEAoyUBoronOGaE8",
46+
"data-text": "Ask AI",
47+
"data-margins": '{"bottom": "1rem", "right": "1rem"}',
48+
id: "guru-widget-id",
49+
}],
50+
]
4051
});

0 commit comments

Comments
 (0)