@vue-email/nuxt

Nuxt package for vue-email
39,707
Install
npm install @vue-email/nuxt
Latest Version:0.8.19
Vue:3
License:MIT
Last Updated:Mar 1, 2024
Links: npm
Maintainer: flowko

vue-email

npm version npm downloads JSDocs License

@vue-email/nuxt

Official Nuxt module for Vue Email. Build email templates with Vue components.

Features

  • Auto-import Vue Email components and composables
  • useCompiler utility to render emails on the server
  • All the DX Magic that comes with Nuxt ✨
  • Vue Email DevTools integration

Ecosystem

Package Version
Vue-Email tres version
Nuxt nuxt version
SSR Compiler cientos version
CLI tres version

Quick Setup

  1. Add @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
  1. Add @vue-email/nuxt to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@vue-email/nuxt'
  ]
})

That's it! You can now use My Module in your Nuxt app ✨

Development

# 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

License

MIT License © 2023-PRESENT Vue Email

Related Packages

@vue-email/compiler-edge

Compile vue-email templates

2,388
@vue-email/nuxt-edge

Nuxt package for vue-email

2,379
@vue-email/render

Transform Vue components into HTML email templates

616,836 1,090
@vue-email/markdown

Convert Markdown to valid Vue Email template code.

578,550
@vue-email/html

A Vue html component to wrap emails

577,484

Version History

Version Released License
0.8.19 MIT
0.8.18 MIT
0.8.17 MIT
0.8.16 MIT
0.8.15 MIT
Pre-releases (10)
Version Released License
0.8.0-beta.11 MIT
0.8.0-beta.10 MIT
0.8.0-beta.9 MIT
0.8.0-beta.8 MIT
0.8.0-beta.7 MIT