perf: 优化首屏加载速度

This commit is contained in:
“huailei000”
2022-07-15 14:17:07 +08:00
committed by 老广
parent c1e3c23523
commit af0d6202bb

View File

@@ -101,7 +101,7 @@ module.exports = {
}, },
chainWebpack(config) { chainWebpack(config) {
// it can improve the speed of the first screen, it is recommended to turn on preload // it can improve the speed of the first screen, it is recommended to turn on preload
// config.plugins.delete('preload') config.plugins.delete('preload')
// when there are many pages, it will cause too many meaningless requests // when there are many pages, it will cause too many meaningless requests
config.plugins.delete('prefetch') config.plugins.delete('prefetch')