轻松将 Mailpit 网页 UI 集成到 Nuxt devtools 中。
nuxt-mailpit 依赖项添加到您的项目中npx nuxi@latest module add mailpit
nuxt-mailpit 添加到 nuxt.config.ts 的 modules 部分export default defineNuxtConfig({
modules: [
'nuxt-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