-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
nuxt-link prefetch throws an exception when it becomes visible #5751
Comments
So in that case components can't be preloaded because they are not lazy loaded (are already preloaded). I'll create a fix for catching the error. |
@edum18 it's fixed in nuxt 2.7.2 |
I'm using nuxt 2.10.1 and still run into this issue. |
@siegy22 please create a new issue with a reproduction repo and a reference to this one |
@manniL I'm trying to isolate it, but it's pretty hard as it's not consistent throwing that Error. 🤔 |
Version
2.7.1
Reproduction link
https://codesandbox.io/s/codesandboxnuxt-tnli2?fontsize=14
Steps to reproduce
nuxt.config.js add to build section
splitChunks:{layouts: false, pages: false}
,scroll down until it becomes visible
What is expected ?
prefetch route link
What is actually happening?
exception in console Uncaught
TypeError: Component(...).catch is not a function at VueComponent.prefetch
Additional comments?
Help :)
The text was updated successfully, but these errors were encountered: