@beforeyoubid/jsx-mail-core
v1.0.9
Published
All jsx mail core functions. 🚀✉️
Downloads
103
Keywords
Readme
JSXMail
All the basic functioning of jsx-mail. Build or render functions directly.
Usage
// eslint-disable-next-line
const { Core } = require('@beforeyoubid/jsx-mail-core');
const core = new Core(__dirname + '/mail-app', 'dist');
core.build().then(result => {
console.log('Build result:', result);
core
.render(
'Welcome',
{
name: 'John Doe',
},
{
lang: 'pt-BR',
}
)
.then(result => {
console.log('Render result:', result);
});
});
Documentation
See the documentation here