hfxc226 3 years ago
parent
commit
771e778e06
1 changed files with 2 additions and 1 deletions
  1. 2 1
      vue.config.js

+ 2 - 1
vue.config.js

@@ -51,7 +51,8 @@ const vueConfig = {
   chainWebpack: (config) => {
     config.resolve.alias
       .set('@$', resolve('src'))
-
+    config.plugins.delete('preload')
+    config.plugins.delete('prefetch')
     const svgRule = config.module.rule('svg')
     svgRule.uses.clear()
     svgRule