🌐 AI搜索 & 代理 主页
Skip to content

Commit 622fbae

Browse files
authored
chore(nuxt.config.js): update manifest to pwa.manifest (#4028)
1 parent 34339b7 commit 622fbae

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/nuxt.config.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,21 @@ module.exports = {
180180
},
181181

182182
manifest: {
183-
name: 'BootstrapVue',
184-
short_name: 'BootstrapVue',
185-
description: 'Quickly integrate Bootstrap v4 components with Vue.js',
186-
theme_color: '#563d7c'
183+
// Hack needed to get around a bug in 3.0.0-beta.17 of @nuxtjs/pwa
184+
icons: []
185+
},
186+
187+
pwa: {
188+
icon: {
189+
// iconFileName: 'icon.png',
190+
iconSrc: '~/static/icon.png'
191+
},
192+
manifest: {
193+
name: 'BootstrapVue',
194+
short_name: 'BootstrapVue',
195+
description: 'Quickly integrate Bootstrap v4 components with Vue.js',
196+
theme_color: '#563d7c'
197+
}
187198
},
188199

189200
generate: {

0 commit comments

Comments
 (0)