An open API service indexing awesome lists of open source software.

https://github.com/vituum/vite-plugin-send


https://github.com/vituum/vite-plugin-send

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

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

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

export default {
plugins: [
send()
]
}
```

Read the [docs](https://vituum.dev/plugins/send) to learn more about plugin options.

### Requirements

- [Node.js LTS (16.x)](https://nodejs.org/en/download/)
- [Vite](https://vitejs.dev/)