Guys, I haven´t tried it yet, but “require” is not supported in Wix Code and is mandatory replaced by “import”. In the SendGrid NPM-example, you see this line as the “require”:
import sgMail from “@sendgrid/mail”;
Guys, I haven´t tried it yet, but “require” is not supported in Wix Code and is mandatory replaced by “import”. In the SendGrid NPM-example, you see this line as the “require”:
import sgMail from “@sendgrid/mail”;