Closed jephjohnson closed 7 years ago
I keep getting the following error when using react as my engine. "Error: Could not load engine ([object Object]). Please make sure you have installed the package in your project."
new Email('test-email.jsx', { engine: require('react'), }).send();
@jephjohnson React itself is not an engine. Maybe you can try to use express engine for react
@w01fgang - doh, that solved it
I keep getting the following error when using react as my engine. "Error: Could not load engine ([object Object]). Please make sure you have installed the package in your project."
new Email('test-email.jsx', { engine: require('react'), }).send();