1.1.0 โข Published 2 years ago
create-vtex-email v1.1.0
Create VTEX Email
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
- Boilerplate
- Email Stylelint
- 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 import
<Header class="partial">{{> Header}}</Header>