]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: Add favicon to docs in vitepress config (#594)
authorJoost de Lange <post.joostdelange@gmail.com>
Mon, 16 Nov 2020 18:17:28 +0000 (19:17 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Nov 2020 18:17:28 +0000 (19:17 +0100)
docs/.vitepress/config.js

index fd3df4dd41721a7cee0ac6827f09b40070c2e693..fbadd1de80e8b029bc91f873ca390725e201a6c0 100644 (file)
@@ -1,7 +1,7 @@
 /** @typedef {import('vitepress').UserConfig} UserConfig */
 
 /** @type {UserConfig['head']} */
-const head = []
+const head = [['link', { rel: 'icon', href: `/logo.png` }]]
 
 if (process.env.NODE_ENV === 'production') {
   head.push([