@hz-libs/bpe-ui-external-link
v0.1.3
Published
External link primitive.
Readme
@hz-libs/bpe-ui-external-link
External link primitive for Vue 3.
Install
pnpm add @hz-libs/bpe-ui-external-linkThe app must already depend on Vue ^3.5.0. Component CSS is included in the JavaScript import.
Use
The button opens url in a new tab. An unsafe URL does nothing.
<script setup>
import { ExternalLink } from '@hz-libs/bpe-ui-external-link'
</script>
<template>
<ExternalLink url="https://example.com" />
</template>Exports
ExternalLink.
