We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef4949 commit 0bf61aaCopy full SHA for 0bf61aa
vue.config.js
@@ -49,8 +49,11 @@ module.exports = {
49
}
50
},
51
chainWebpack(config) {
52
- config.plugins.delete('preload') // TODO: need test
53
- config.plugins.delete('prefetch') // TODO: need test
+ // it can improve the speed of the first screen, it is recommended to turn on preload
+ // config.plugins.delete('preload')
54
+
55
+ // when there are many pages, it will cause too many meaningless requests
56
+ config.plugins.delete('prefetch') //
57
58
// set svg-sprite-loader
59
config.module
0 commit comments