https://github.com/vituum/vite-plugin-send
https://github.com/vituum/vite-plugin-send
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vituum/vite-plugin-send
- Owner: vituum
- License: mit
- Created: 2023-06-17T14:09:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-17T11:48:18.000Z (almost 2 years ago)
- Last Synced: 2025-02-07T08:57:43.605Z (8 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡️✉️ 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/)