From 05b8e0b5aaf6509cfd71f6c74184202c57b61fce Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 19 Nov 2025 12:18:56 +0100 Subject: [PATCH 1/2] fix(Link): remove html attributes --- src/runtime/components/Link.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/Link.vue b/src/runtime/components/Link.vue index 297f4799b7..95f4e5d2aa 100644 --- a/src/runtime/components/Link.vue +++ b/src/runtime/components/Link.vue @@ -2,12 +2,12 @@ import type { AppConfig } from '@nuxt/schema' import type { NuxtLinkProps } from '#app' import theme from '#build/ui/link' -import type { ButtonHTMLAttributes, AnchorHTMLAttributes } from '../types/html' +import type { ButtonHTMLAttributes } from '../types/html' import type { ComponentConfig } from '../types/tv' type Link = ComponentConfig -export interface LinkProps extends Omit, /** @vue-ignore */ Omit, /** @vue-ignore */ Omit { +export interface LinkProps extends Omit { /** * The element or component this component should render as when not a link. * @defaultValue 'button' From 520a7da93d2cbd9d3357076c0e653985a0d30696 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 19 Nov 2025 12:49:03 +0100 Subject: [PATCH 2/2] up --- src/runtime/components/Link.vue | 57 +++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/src/runtime/components/Link.vue b/src/runtime/components/Link.vue index 95f4e5d2aa..a07f8f44c2 100644 --- a/src/runtime/components/Link.vue +++ b/src/runtime/components/Link.vue @@ -1,13 +1,64 @@