Appearance
eWizard.js v5.48.2 and eWizard CLI v2.0.0
November 2024
New in eWizard.js
Banner templates
eWizard.js version 5.48.2 brings a new feature that can be a turning point in your company banner creation tasks—banner templates. Now, you can develop banner templates according to your requirements and make them available in eWizard Editor for further re-use.
You can configure different sizes for your banner template suitable for various digital and social media platforms and register them in templates.json, defining the specification for every template.
Learn more about banner development.
Live thumbnail update for e-Detailers and multipage sites
Global changes to an e-Detailer, for example, structure modification, require updating all its slide thumbnails with a navigation menu, so your changes are reflected. The similar scenario can occur with any changes you make to references or footnotes on e-Detailer slides.
This version of eWizard.js framework introduces the live thumbnail update feature to give you precise control over whether these global modifications automatically trigger thumbnail updates or not. To activate the feature, add necessary dependencies to the index.vue file of every required e-Detailer slide or page.
Learn more about:
- Live thumbnail update
- e-Detailer directory structure
- e-Detailer slide and chapter structure
- e-Detailer footnotes
- wiz-references e-Detailer component
- Multipage sites
- Site directory structure
- wiz-references site component
New in eWizard CLI
Dart-Sass migration
eWizard CLI has transitioned to dart-sass, a more modern and actively maintained Sass implementation.
Breaking changes
eWizard CLI no longer supports the deprecated /deep/ and >>> SCSS selectors.
The wiz update command now includes the --deep-selector option, which automatically replaces deprecated selectors with the ::v-deep syntax.
This change requires adjustments to existing email templates that rely on these selectors.
Migration guide
To migrate older projects to the new eWizard CLI version and address the breaking changes, run the following command:
bash
wiz update --deep-selectorIt automatically replaces deprecated selectors and displays a message confirming successful replacement or stating that no files need to be modified.
To build older emails that still use the deprecated selectors, update eWizard CLI and run the wiz update --deep-selector command before building the email.
Node.js version 22 support
eWizard CLI now officially supports Node.js version 22, ensuring compatibility with the latest Node.js features and security updates.