Design responsive email templates for Novu workflows with Vue Email components and render them from your Framework email step at trigger time.
You can integrate Novu Framework with Vue Email in a few simple steps. This guide will walk you through the process of creating a new email template using Vue Email and Nuxt.For a Quickstart Boilerplate project using Nuxt.js, and Vue Email, check out the Vue Email Starter repository
Quickstart
1
Install Vue.Email components
npm install @vue-email/components
2
Create templates folder
Create a new folder called emails in your src folder.
<script setup lang="ts">defineProps<{ name: string;}>();</script><template> <VueEmail> <Html> <Head /> <Preview>Welcome to Vue Email</Preview> <Container> <h1>Welcome, {{ name }}!</h1> <p>Thanks for trying Vue Email. We're thrilled to have you on board.</p> </Container> </Html> </VueEmail></template>