1.
<nuxt-link :to="localePath({name: 'orders-view-id', params: {id: order.id}})">{{ $t("view") }}</nuxt-link>
2.
<nuxt-link :to="localePath(`/orders/view/${order.id}`)">{{ $t("view") }}</nuxt-link>
:to="localePath('merchants')"
<nuxt-link :to="localePath('index')">{{ $t('home') }}</nuxt-link>
<nuxt-link :to="localePath('/')">{{ $t('home') }}</nuxt-link>
<nuxt-link :to="localePath('index', 'en')">Homepage in English</nuxt-link>
<nuxt-link :to="localePath('/app/profile')">Route by path to: {{ $t('Profile') }}</nuxt-link>
<nuxt-link :to="localePath('app-profile')">Route by name to: {{ $t('Profile') }}</nuxt-link>
<nuxt-link
:to="localePath({ name: 'category-slug', params: { slug: category.slug } })">
{{ category.title }}
</nuxt-link>
<!-- It's also allowed to omit 'name' and 'path'. -->
<nuxt-link :to="localePath({ params: { slug: 'ball' } })">{{ category.title }}</nuxt-link>
<nuxt-link class="nav-link" :to="localePath('merchants')">
<span>{{ $t('merchants.index') }}</span>
</nuxt-link>