Installation
Install the core package with your preferred package manager.
npm i hono-emailyarn add hono-emailpnpm add hono-emailbun i hono-emailOptional packages
Section titled “Optional packages”| Package | Install command | Purpose |
|---|---|---|
@hono-email/tailwind-plugin |
npm i -D @hono-email/tailwind-plugin |
Inject Tailwind CSS into email components at build time. |
@hono-email/preview |
npm i -D @hono-email/preview |
Live preview server with interactive props editing. |
The core package includes all rendering, validation, and adapter APIs. Add the other packages only when you need Tailwind bundler integration or the preview server.