Nuxt Mailpit
Mailpit ウェブUIをNuxt devtoolsに簡単に統合します。
機能
- 🧙 Devtools統合: Nuxt devtoolsから直接MailpitウェブUIにアクセスできます。
クイックセットアップ
- プロジェクトに
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://: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