Official Nuxt module for Vue Email. Build email templates with Vue components.
useCompiler utility to render emails on the server| Package | Version |
|---|---|
| Vue-Email | |
| Nuxt | |
| SSR Compiler | |
| CLI |
@vue-email/nuxt dependency to your project# Using pnpm
pnpm add -D @vue-email/nuxt
# Using yarn
yarn add --dev @vue-email/nuxt
# Using npm
npm install --save-dev @vue-email/nuxt
@vue-email/nuxt to the modules section of nuxt.config.tsexport default defineNuxtConfig({
modules: [
'@vue-email/nuxt'
]
})
That's it! You can now use My Module in your Nuxt app ✨
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release