Nuxt Mailpit
Mailpit web UI を Nuxt デヴツールに楽々と統合します。
機能
- 🧙 デヴツール統合: Mailpit web UI に Nuxt デヴツールから直接アクセスします。
簡単なセットアップ
- プロジェクトに
nuxt-mailpit
依存関係を追加
npx nuxi@latest module add mailpit
nuxt.config.ts
のmodules
セクションにnuxt-mailpit
を追加します。
export default defineNuxtConfig({
modules: [
'nuxt-mailpit'
]
})
- Mailpit がインストールされ、実行されていることを確認します。
以上です!Nuxt アプリで Mailpit をご利用いただけます ✨
モジュールオプション
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: "https://127.0.0.1:8025",
}
})
貢献
新機能の提案、バグレポート、プルリクエストを歓迎します!
開発
# 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