2022-03-14 13:36:32 +00:00
|
|
|
<template>
|
2022-03-23 08:44:36 +00:00
|
|
|
<NuxtExampleLayout show-tips example="nuxt-link" class="example">
|
2022-03-14 13:36:32 +00:00
|
|
|
<NuxtPage />
|
2022-03-23 08:44:36 +00:00
|
|
|
<template #tips>
|
|
|
|
<p>
|
|
|
|
This example shows different ways to use <code>Nuxtlink</code>.
|
|
|
|
<code>components/myNuxtLink.js</code> defines a custom <code>NuxtLink</code>.
|
|
|
|
</p>
|
|
|
|
</template>
|
2022-03-14 13:36:32 +00:00
|
|
|
</NuxtExampleLayout>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.example a {
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
padding: 1rem 10rem;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
</style>
|