更新时间:2023-11-17 22:47:34
在 vue.config.js
中,设置图标的 PWA 选项以指向您想要的任何图标.具体设置pwa.iconPaths
例如:
Inside the vue.config.js
set the PWA options for the icons to point to whatever icons you want. Specifically, set pwa.iconPaths
for example:
module.exports = {
pwa: {
iconPaths: {
favicon32: 'img/icons/myFavicon.png',
}
}
}
见