Preloading routes loads the components of a given route that the user might navigate to in future. This ensures that the components are available earlier and less likely to block the navigation, improving performance.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nuxt/nuxt/llms.txt
Use this file to discover all available pages before exploring further.
Type Signature
Parameters
The route to preload. Can be a string path or a route location object.
Example
Preload a route when usingnavigateTo:
Notes
On server,
preloadRouteComponents will have no effect.