THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

chore: turn on the preload

pull/3246/head
花裤衩 4 months ago
parent
commit
0bf61aac53
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      vue.config.js

+ 5
- 2
vue.config.js View File

@ -49,8 +49,11 @@ module.exports = {
}
},
chainWebpack(config) {
config.plugins.delete('preload') // TODO: need test
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')
// when there are many pages, it will cause too many meaningless requests
config.plugins.delete('prefetch') //
// set svg-sprite-loader
config.module

Loading…
Cancel
Save