From e40491208ac1096e505803072df0d9e2e771008e Mon Sep 17 00:00:00 2001 From: "Haytham A. Salama" Date: Sat, 16 Sep 2023 22:50:55 +0300 Subject: [PATCH] feat(Link): add `as` prop (#535) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/content/2.elements/9.link.md | 2 +- src/runtime/components/elements/Link.vue | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/content/2.elements/9.link.md b/docs/content/2.elements/9.link.md index 1273d872..bc24836d 100644 --- a/docs/content/2.elements/9.link.md +++ b/docs/content/2.elements/9.link.md @@ -17,6 +17,6 @@ The Link component is a wrapper around [``](https://nuxt.com/docs/api/ The incentive behind this is to provide the same API as NuxtLink back in Nuxt 2 / Vue 2. You can read more about it in the Vue Router [migration from Vue 2](https://router.vuejs.org/guide/migration/#removal-of-the-exact-prop-in-router-link) guide. -It also renders an `` tag when a `to` prop is provided, otherwise it renders a `