Skip to content

Commit e4184a2

Browse files
docs: add favicon example in head config (#2259)
Fixes issue where the favicon was not being served properly in chrome
1 parent 145332b commit e4184a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/docs/docs/plugin/official/plugin-pwa.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Here is an example of a fully PWA-compliant configuration with VuePress:
3737
module.exports = {
3838
head: [
3939
['link', { rel: 'icon', href: '/logo.png' }],
40+
['link', { rel: 'icon', href: 'favicon.ico', type: 'image/x-icon' }],
4041
['link', { rel: 'manifest', href: '/manifest.json' }],
4142
['meta', { name: 'theme-color', content: '#3eaf7c' }],
4243
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],

0 commit comments

Comments
 (0)