vue-dsfr icon indicating copy to clipboard operation
vue-dsfr copied to clipboard

Documentation : DsfrHeaderMenuLink ne prend pas href

Open hfroot opened this issue 1 year ago • 0 comments

Dans les docs href est noté comme un attribut possible. https://vue-ds.fr/composants/DsfrHeaderMenuLink

Screenshot 2024-08-14 at 13-32-41 Lien d’en-tête - DsfrHeaderMenuLink VueDsfr

Mais dans le code je vois que c'est géré par to : https://github.com/dnum-mi/vue-dsfr/blob/main/src/components/DsfrNavigation/DsfrNavigationMenuLink.vue

const isExternal = computed(() => typeof props.to === 'string' && props.to.startsWith('http'))

hfroot avatar Aug 14 '24 11:08 hfroot