vue-dsfr
vue-dsfr copied to clipboard
Documentation : DsfrHeaderMenuLink ne prend pas href
Dans les docs href est noté comme un attribut possible. https://vue-ds.fr/composants/DsfrHeaderMenuLink
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'))