routeur nuxt3
//A simple link to the index.vue page in your pages folder:
<template>
<NuxtLink to="/">Home page</NuxtLink>
</template>
Rodrigo Fernandes
//A simple link to the index.vue page in your pages folder:
<template>
<NuxtLink to="/">Home page</NuxtLink>
</template>
/*
If you are using app.vue , make sure to use the <NuxtPage/> component to display the current page:
*/
<template>
<div>
<!-- Markup shared across all pages, ex: NavBar -->
<NuxtPage />
</div>
</template>
//Given the example above, you can access group/id within your component via the $route object:
<template>
<p>{{ $route.params.group }} - {{ $route.params.id }}</p>
</template>
Awesome article https://medium.com/@cybercoder.naj/nuxt3-routing-78a5c1372102