Maizzle CLI
You can use the Maizzle CLI to:- Create new projects
- Generate config files
- Build your HTML emails
- Scaffold templates or layouts
Installation
Install the CLI tool globally, so that themaizzle executable gets added to your $PATH:
Creating a project
Scaffold a Maizzle project by opening a terminal and running:Development
The CLI tool provides commands for developing HTML emails with Maizzle.serve
Use themaizzle serve command to start a local development server, which you can access in your browser at http://localhost:3000.
build
Thebuild command is used to compile your templates and output them to the destination directory.
[env] is specified, Maizzle will try to compute an environment config by merging config.[env].js on top of the default config.js.
If no
[env] is specified, Maizzle will use config.js from the current working directory.