VTEX Email Framework
Transactional emails development architecture
๐ซ Homepage
โ๏ธ Features
- Hot Reload
- Partial Files
- Inline CSS
- Dashboard
- Boilerplate
- Template Engine
๐บ๏ธ Guide
- Data and template file name must be the same
emails
โ
โโโโjson
โ โ order-confirmation.json
โ โ payment-approved.json
โโโโtemplates
โ order-confirmation.hbs
โ payment-approved.hbs
โโโโpartials
โ Header.hbs
โ Shelf.hbs
- Partials
โ Right
<Shelf class="partial">{{> Shelf}}</Shelf>
โ Wrong
<Shelf class="partial">
{{> Shelf}}
</Shelf>
๐ฎ Commands
- Install
yarn install
- Development
yarn dev
- Production
yarn build
- Test
yarn test