maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
10 lines (9 loc) • 371 B
TypeScript
import { Component } from 'vue';
/**
* Resolves the appropriate router link component based on environment
* Checks for provided component (via MAZ_LINK_COMPONENT_KEY), then RouterLink, then falls back to 'a'
* Must be called during setup
*
* @returns The resolved component or 'a' as fallback
*/
export declare function resolveLinkComponent(): Component | string;