Simple way to build email templates in vue.
- ๐งฉ Build email templates with Vue components
- ๐จ Integrates with many email providers
- ๐งช Tested against popular email clients
- ๐จ Supports Tailwind CSS
# pnpm
pnpm add -D vue-email
# npm
npm i -D vue-email
// components/template-email.vue
<template>
<e-html lang="en">
<e-text>Hello, {{ user }}!</e-text>
<e-hr />
<e-button href="vuejs.org">Visit vue</e-button>
</e-html>
</template>
<script setup>
import { EButton, EHr, EHtml, EText } from 'vue-email';
import { ref } from 'vue';
const user = ref('Dave');
</script>
You can see the full example here
- Clone this repository
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
This project is originally written in react (react-email) by:
- Bu Kinoshita (@bukinoshita)
- Zeno Rocha (@zenorocha)
This project is licensed under MIT