onServerPrefetch hook present in client side bundled vue app
#12537
Llois41
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I started a little
vue-ssrapp and noticed that theonServerPrefetchmethod will be included in the bundled client side JavaScript. I do not think that this should be the case since it is dead code in the client. Now I am wondering if this an issue invueor the bundler (vitein this case) or its plugins (@vitejs/plugin-vuein this case).Is this a valid expectation from my side or am I missing something?
Thanks in advance for any input on this!
Beta Was this translation helpful? Give feedback.
All reactions