From f0005e668428f4972e8e597ea126e06e6c2e9ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Ollivier?= Date: Thu, 15 Sep 2022 11:29:30 +0200 Subject: [PATCH] docs: add note about link prefetching (#7540) --- docs/content/1.getting-started/5.routing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/1.getting-started/5.routing.md b/docs/content/1.getting-started/5.routing.md index 507ed32e3a..12386ede13 100644 --- a/docs/content/1.getting-started/5.routing.md +++ b/docs/content/1.getting-started/5.routing.md @@ -38,6 +38,8 @@ pages/ The `` component links pages between them. It renders a `` tag with the `href` attribute set to the route of the page. Once the application is hydrated, pages transitions are performed in JavaScript by updating the browser URL. This prevents full-page refreshes and allow for animated transitions. +When a `` enters the viewport, Nuxt will automagically prefetch the linked page in background, resulting in faster subsequent page transitions. + ```vue [pages/app.vue]