3.0.4
Node 10.10.0 / yarn 1.9.4
// Resulting VUE config
module.exports = {
chainWebpack: (config) => {
config.plugins.delete('prefetch');
},
};
No any <link rel="prefetch" href="/js/XXX.js"> of async components in html head section.
Tags <link rel="prefetch" href="/js/XXX.js"> present in head.
This code disappears from the configuration (vue inspect):
new PreloadPlugin({
rel: 'prefetch',
include: 'asyncChunks'
}),
The strange thing is that even in the absence of a plugin in vue inspect, <link> tags still appear in html.
In issue #979 described the config I applied the method to disable prefetch, but it didn't work.
I found my mistake. I used the third-party package features incorrectly.
may I ask which third-party package features did you use incorrectly? I am currently facing the same issue
may I ask which third-party package features did you use incorrectly? I am currently facing the same issue
I don't think I remember.
did you use server side rendering for you project?
@yangning10000, if this question to me, then Yes
@KleinMaximus yeah I use vue-cli-plugin-ssr. in createBundleRenderer, there seems to be a inject: false which suppose to control the behavior but nothing works. I'm so confused right now