Nuxt Nation カンファレンスが開催されます。11 月 12 日から 13 日に参加してください。

mailpit
nuxt-mailpit

Nuxt デヴツールで Mailpit web UI を統合します

Nuxt Mailpit

npm versionnpm downloadsLicenseNuxt

Mailpit web UI を Nuxt デヴツールに楽々と統合します。

機能

  • 🧙 デヴツール統合: Mailpit web UI に Nuxt デヴツールから直接アクセスします。

簡単なセットアップ

  1. プロジェクトに nuxt-mailpit 依存関係を追加
npx nuxi@latest module add mailpit
  1. nuxt.config.tsmodules セクションに nuxt-mailpit を追加します。
export default defineNuxtConfig({
  modules: [
    'nuxt-mailpit'
  ]
})
  1. 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