We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to use the PugAdapter from '@nestjs-modules/mailer',
But I get this error
Module '"../node_modules/@nestjs-modules/mailer"' has no exported member 'PugAdapter'.
The text was updated successfully, but these errors were encountered:
To use PugAdapter use
import { PugAdapter } from '@nestjs-modules/mailer/dist/adapters/pug.adapter';
https://nest-modules.github.io/mailer/docs/mailer.html
Sorry, something went wrong.
I tried to use the HandlebarsAdapter from '@nestjs-modules/mailer',
Module '"../node_modules/@nestjs-modules/mailer"' has no exported member 'HandlebarsAdapter'.
To resolve I used
import { HandlebarsAdapter } from '@nestjs-modules/mailer/dist/adapters/handlebars.adapter';
Would be more cleaner to user some like, if possible:
import { HandlebarsAdapter } from '@nestjs-modules/mailer/adapter';
or even, if the plugins is available
import { HandlebarsAdapter } from '@nestjs-modules/mailer';
I tried to use the HandlebarsAdapter from '@nestjs-modules/mailer', But I get this error Module '"../node_modules/@nestjs-modules/mailer"' has no exported member 'HandlebarsAdapter'. To resolve I used import { HandlebarsAdapter } from '@nestjs-modules/mailer/dist/adapters/handlebars.adapter'; Would be more cleaner to user some like, if possible: import { HandlebarsAdapter } from '@nestjs-modules/mailer/adapter'; or even, if the plugins is available import { HandlebarsAdapter } from '@nestjs-modules/mailer';
Sadly you have to dive deeper to each adapter. But you right though. It would be cleaner to use that approach
No branches or pull requests
I tried to use the PugAdapter from '@nestjs-modules/mailer',
But I get this error
Module '"../node_modules/@nestjs-modules/mailer"' has no exported member 'PugAdapter'.
The text was updated successfully, but these errors were encountered: