Vue-Cli-设置-title-ico-图标
vue怎样修改标题 <%= htmlWebpackPlugin.options.title %>
pages: {
index: {
// page 的入口
entry: 'src/index/main.js',
// 模板来源
template: 'public/index.html',
// 在 dist/index.html 的输出
filename: 'index.html',
// 当使用 title 选项时,
// template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title>
title: 'Index Page',
// 在这个页面中包含的块,默认情况下会包含
// 提取出来的通用 chunk 和 vendor chunk。
chunks: ['chunk-vendors', 'chunk-common', 'index']
},
// 当使用只有入口的字符串格式时,
// 模板会被推导为 `public/subpage.html`
// 并且如果找不到的话,就回退到 `public/index.html`。
// 输出文件名会被推导为 `subpage.html`。
subpage: 'src/subpage/main.js'
}
vue-cli3.0设置页面icon图标
https://blog.csdn.net/qq_40816649/article/details/90544756
pwa: {
iconPaths: {
favicon32: './plug_jchLogo.png',
favicon16: './plug_jchLogo.png',
appleTouchIcon: './plug_jchLogo.png',
maskIcon: './plug_jchLogo.png',
msTileImage: './plug_jchLogo.png'
}
},


浙公网安备 33010602011771号