homer/vue.config.js
Trae de0a746a27
Vue PWA Default Icon Paths are Incorrect
Corrected the icons due to the default iconPaths setting for Vue-PWA plugin is not where the icons actually are.  This corrects issue.
2020-06-05 23:13:31 -05:00

21 lines
552 B
JavaScript

module.exports = {
chainWebpack: (config) => {
config.module
.rule("yaml")
.test(/\.ya?ml$/)
.use("raw-loader")
.loader("raw-loader")
.end();
},
pwa: {
manifestPath: "assets/manifest.json",
iconPaths: {
favicon32: 'assets/icons/favicon-32x32.png',
favicon16: 'assets/icons/favicon-16x16.png',
appleTouchIcon: 'assets/icons/apple-touch-icon-152x152.png',
maskIcon: 'assets/icons/safari-pinned-tab.svg',
msTileImage: 'assets/icons/msapplication-icon-144x144.png'
}
}
};