Skip to content

Gsap page async transitions #116

Answered by logotip4ik
esseifforte asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Nuxt is smart and it tries it's best to figure out itself what to preload, prefetch and that not to.

Nuxt already automatically preloads the necessary routes if you're using the NuxtLink component. - https://nuxt.com/docs/api/utils/preload-route-components#preloadcomponents

... It (NuxtLInk) intelligently determines whether the link is internal or external and renders it accordingly with available optimizations (prefetching, default attributes, etc.) - https://nuxt.com/docs/api/components/nuxt-link#nuxtlink

But for more control it exposes some useful functions to preload components or entire pages Also if you want to do async fetching or computation, you can use useFetch or use…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@esseifforte
Comment options

@logotip4ik
Comment options

@esseifforte
Comment options

@logotip4ik
Comment options

Answer selected by esseifforte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants