Muil

Muil

  • Docs
  • Configurations
  • API
  • Blog

›Getting Started

Getting Started

  • Quick Start Guide
  • Slow Start Guide
  • Run Templates Viewer
  • Write Template
  • Styling Template
  • Solutions
  • Why Muil

Configurations

  • CLI
  • Custom Webpack Config
  • Custom Babel Config

API

  • Authorization
  • Sending Email
  • Generating PDF
  • Generating Image
  • Generating HTML

Email Limitations

  • Fonts
  • SVG

Components

  • Intro
  • Grid
  • Style
  • Alignment
  • Typography
  • Button
  • Callout
  • Menu
  • Spacer
  • Wrapper
  • Charts
  • PDF Page

Quick Start Guide

Automate Installation

Get started using the automatic command line tool. This command installs and adds everything you need to get start with Muil.

Inside your root directory run:

npx -p @muil/cli muil-cli init

Verifying Installation

Your root directory will now contains a structure similar to:

root directory
├───src
│   ├───components
│   │   ├───Component1.js
│   │   ├───...
│   │   └───ComponentN.js
└───templates
    ├───GettingStarted.template.js
    └───Simple.template.js

And the package.json will looks like:

 "scripts": {
    ...
    "muil": "muil-viewer",
    "muil-cli": "muil-cli"
  },

Run Templates Viewer

See Run Templates Viewer.

Slow Start Guide →
  • Automate Installation
  • Verifying Installation
  • Run Templates Viewer
Copyright © 2021 muil