dword-design / nuxt-mail

Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
Other
247 stars 18 forks source link

Support for nuxt 3 #108

Closed vencho-mdp closed 1 year ago

GithubMitch commented 2 years ago

I really need this working with Nuxt 3 , im using nuxt.config.ts. So following your tutorial gives me the following error in nuxt.config.ts: Type '{ message: { to: string; }; smtp: { host: string; port: number; }; }' is not assignable to type 'string'.

vencho-mdp commented 2 years ago

@GithubMitch Till they release it for Nuxt 3, you could make a route under server/api that uses nodemailer :)

dword-design commented 2 years ago

I first want to finish up the PR about dynamic emails, because it involves some architectural changes and fixes many open issues. https://github.com/dword-design/nuxt-mail/pull/112

niklasfjeldberg commented 2 years ago

@dword-design do you have any update on this?

kissu commented 2 years ago

Related SO question: https://stackoverflow.com/q/73962200/8816585

dword-design commented 1 year ago

Nuxt 3 support is there. I can't reproduce the Typescript issue though, let me know if there is still an issue.

mubaidr commented 1 year ago

Nuxt 3 support is there. I can't reproduce the Typescript issue though, let me know if there is still an issue.

Awesome! In that case this module should be listed under modules section (nuxt 3 website)

dword-design commented 1 year ago

Issue is here but not closed yet: https://github.com/nuxt/modules/issues/128