-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Prefetch links presents in html even if prefetch plugin deleted #2616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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 |
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 |
Version
3.0.4
Node and OS info
Node 10.10.0 / yarn 1.9.4
Steps to reproduce
What is expected?
No any
<link rel="prefetch" href="/js/XXX.js">
of async components in html head section.What is actually happening?
Tags
<link rel="prefetch" href="/js/XXX.js">
present in head.Notes
This code disappears from the configuration (vue inspect):
The strange thing is that even in the absence of a plugin in
vue inspect
,<link>
tags still appear in html.The text was updated successfully, but these errors were encountered: