From 2711e3f743ebff987bed2b43e81af51622dad8b6 Mon Sep 17 00:00:00 2001 From: Gustaf Hultgren Date: Sun, 29 Mar 2020 18:50:16 +0200 Subject: [PATCH] Add favicon reference in head config Fixes issue where the favicon was not being served properly in chrome --- packages/docs/docs/plugin/official/plugin-pwa.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/docs/plugin/official/plugin-pwa.md b/packages/docs/docs/plugin/official/plugin-pwa.md index 4be30501f5..fc128c9f33 100644 --- a/packages/docs/docs/plugin/official/plugin-pwa.md +++ b/packages/docs/docs/plugin/official/plugin-pwa.md @@ -37,6 +37,7 @@ Here is an example of a fully PWA-compliant configuration with VuePress: module.exports = { head: [ ['link', { rel: 'icon', href: '/logo.png' }], + ['link', { rel: 'icon', href: 'favicon.ico', type: 'image/x-icon' }], ['link', { rel: 'manifest', href: '/manifest.json' }], ['meta', { name: 'theme-color', content: '#3eaf7c' }], ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],