Overview
TheLink component provides navigation with automatic handling of internal routes and external URLs. It integrates with Vue Router and Nuxt’s router.
Basic usage
External link
With icon
As button style
Props
Internal route location (Vue Router).
External URL or internal path.
Link target attribute.
Link rel attribute. Auto-set to
noopener noreferrer for external links.Icon to display with the link.
Disable active state styling.
Only apply active state for exact matches.