vtex-email-framework
vtex-email-framework copied to clipboard
Transactional Emails Development Architecture
VTEX Email Framework
Transactional emails development architecture
๐ฆ Setup
npx create-vtex-email my-emails
๐ฎ Commands
| npm | yarn |
|---|---|
npm run dev |
yarn dev |
npm run build |
yarn build |
โ๏ธ Features
- Sass
- Hot Reload
- Partial Files
- Inline CSS
- Dashboard
- Render Test
- Email Stylelint
- Responsive Boilerplate
๐บ๏ธ 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
โ Cart.hbs
- Partials import
<Header class="partial">{{> Header}}</Header>