Components
Link
A hyperlink to web pages, email addresses, or anything else a URL can address.
Install
Install component from your command line.
pnpm add @vue-email/components
# or get the individual package
pnpm add @vue-email/link
Getting started
Add the component to your email template. Include styles where needed.
<script setup lang="ts">
import { Link } from '@vue-email/components'
</script>
<template>
<Link href="https://example.com">Example</Link>
</template>
Props
hrefrequired
string
Link to be triggered when the button is clicked
target
string
Specify the target attribute for the button link