Closed apurvjain28 closed 2 years ago
I have been trying to replicate the same example as given in the link below in my project: https://github.com/wix-incubator/mjml-react-example/blob/master/src/email.js
But it is showing a weird Syntax Error as if it doesn't understand mjml-react syntax. If I try to send normal mjml rendered HTML on my mailTrap account then it's working. But somehow it can not read the imports from mjml-react.
What could be the possible fix for it?
It looks like you have not configured React and/or JSX properly.
I have been trying to replicate the same example as given in the link below in my project: https://github.com/wix-incubator/mjml-react-example/blob/master/src/email.js
But it is showing a weird Syntax Error as if it doesn't understand mjml-react syntax. If I try to send normal mjml rendered HTML on my mailTrap account then it's working. But somehow it can not read the imports from mjml-react.
What could be the possible fix for it?