Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

把项目成功从从vue-cli3升级到vue/cli4 后发现访问首页的时候,请求有将近1000个,但是老版本的时候8个左右,看了下打包出来的index.html文件,老板的映入js、css一共才5个文件,但是新版的映引入的css、js特别多

image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

我新建了一个项目,这个好像不影响,以为一个是preload,次要的是prefetch

image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...