mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
16 lines
398 B
Vue
16 lines
398 B
Vue
|
|
<script setup lang="ts">
|
||
|
|
import { EButton, ETailwind } from "vue-email";
|
||
|
|
import tailwindConfig from "~/tailwind.config";
|
||
|
|
|
||
|
|
defineProps<{
|
||
|
|
name: string;
|
||
|
|
}>();
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<ETailwind :config="tailwindConfig">
|
||
|
|
<EButton href="https://example.com" class="bg-primary px-3 py-2 font-medium leading-4 text-white">
|
||
|
|
Click me
|
||
|
|
</EButton>
|
||
|
|
</ETailwind>
|
||
|
|
</template>
|