mailpit
nuxt-mailpit

在 Nuxt 開發工具中整合 Mailpit 網頁介面

Nuxt Mailpit

npm versionnpm downloadsLicenseNuxt

Nuxt 開發工具中輕鬆整合 Mailpit 網頁介面。

功能

  • 🧙 開發工具整合:直接從 Nuxt 開發工具訪問 Mailpit 網頁介面。

快速設定

  1. nuxt-mailpit 依賴項新增到您的專案
npx nuxi@latest module add mailpit
  1. nuxt-mailpit 新增到 nuxt.config.tsmodules 部分
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://: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