UNPKG

bootstrap-vue-3

Version:

Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript

9 lines (7 loc) 231 B
import type {RouteLocationRaw} from 'vue-router' /** * @param {{href?: string; to?: RouteLocationRaw}} props * @returns */ export default (props: {href?: string; to?: RouteLocationRaw}): boolean => !!(props.href || props.to)