Skip to content

Commit f0cb9fa

Browse files
committed
feat: 增加 favicon
1 parent 555ef33 commit f0cb9fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ export default defineConfig({
109109
}
110110
}
111111
},
112-
head: [["meta", { name: "theme-color", content: "#3c8772" }]],
112+
head: [
113+
["link", { rel: "icon", href: "https://codemirror.net/favicon.ico" }],
114+
["meta", { name: "theme-color", content: "#3c8772" }]
115+
],
113116
themeConfig: {
114117
editLink: {
115118
pattern: "https://github.com/RennCheung/codemirror-editor-vue3/edit/main/docs/:path",

0 commit comments

Comments
 (0)