This module is not yet compatible with Nuxt 3
Head over to v2.nuxt.com
Nuxt Mailpit
Integrate the Mailpit web UI effortlessly in the Nuxt devtools.
Features
- 🧙 Devtools integration: Access the Mailpit web UI directly from Nuxt devtools.
Quick Setup
- Add
nuxt-mailpit
dependency to your project
npx nuxi@latest module add mailpit
- Add
nuxt-mailpit
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-mailpit'
]
})
- Ensure you have Mailpit installed and running.
That's it! You can now use Mailpit in your Nuxt app ✨
Module options
export default defineNuxtConfig({
modules: ["nuxt-mailpit"],
mailpit: {
// Enable or disable the Mailpit web UI in devtools
devtools: true,
// The URL of the Mailpit web UI
webUiUrl: "http://localhost:8025",
}
})
Contributing
Suggestions for new features, bug reports and pull requests are welcome!
Development
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Develop with the playground
pnpm run dev
# Build the playground
pnpm run dev:build
# Run ESLint
pnpm run lint
# Run Vitest
pnpm run test
pnpm run test:watch
# Release new version
pnpm run release
Contributors 2