3 ms·
The example on Github doesn't seem to: // js-side import { render } = from 'jsx-mail'; const template = await render('Welcome', { name: 'John' });
by jeroenhd 4y ago
The example on Github doesn't seem to:
// js-side
import { render } = from 'jsx-mail';
const template = await render('Welcome', { name: 'John' });
console.log(template) // <html>...<h1>John Welcome to jsx-mail</h1>...</html>
(https://github.com/Theryston/jsx-mail https://github.com/Theryston/jsx-mail)