Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 929 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 929 Bytes

npm package node compatility

⚡️✉️ ViteSend

Lets you send content of your page via nodemailer when ?send get param is present in Vite Dev Server. Handy for testing email templates!

You can also export send from @vituum/vite-plugin-send or @vituum/vite-plugin-send/send.js to write a custom script which you can call via Node.js

Basic usage

import send from '@vituum/vite-plugin-send'

export default {
  plugins: [
    send()
  ]
}

Read the docs to learn more about plugin options.

Requirements