The <nuxt-link> Component

This component is used to link the page components between them.

At the moment, <nuxt-link> is the same as <router-link>, so we recommend you to see how to use it on the Vue Router documentation.

Example (pages/index.vue):

<template>
  <div>
    <h1>Home page</h1>
    <nuxt-link to="/about">About</nuxt-link>
  </div>
</template>

In the future, we will add features to the nuxt-link component, like pre-fetching on the background for improving the responsiveness of Nuxt.js Applications.

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!