We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
New serverPrefetch is great to prefetch data on server side but the new documentation doesn't include an example for prefetching data on the client.
serverPrefetch
The text was updated successfully, but these errors were encountered:
I try like this, but don't show any log
<template> <div> <h1>Home</h1> </div> </template> <script> export default { name: "Home", serverPrefetch() { console.log("serverPrefetch"); }, mounted() { console.log("mounted"); } }; </script>
Sorry, something went wrong.
No branches or pull requests
New
serverPrefetch
is great to prefetch data on server side but the new documentation doesn't include an example for prefetching data on the client.The text was updated successfully, but these errors were encountered: