Overview

YAML is a data serialization language that is often used for writing configuration files.  Depending on whom you ask, YAML stands for yet another markup language.  YAML has become a popular programming language because it is human-readable and easy to understand.

Location: US
Contact:
Name: Kate Huston
Address: Great Russell St, London
Age: 16

Phone:
   - 2239 3832
   - type: Mobile
     no: 9239 8293

# This line is comment
Note: |
   this is not a normal string it
   spans more than
   one line
In the above example,
Location
US is single key: value pair
Contact
Contains an object { Name: Kate Huston, Address: Greate …., Age: … }
Phone
Contains list items [ 2233 93832, {type: Mobile, no: 923…}]
Comments
Begin with # character
Note
| - Contains multiline string
For complete YAML reference, please refer to yaml.org

uteam YAML

#
uteam defines a special set of syntax under YAML format for the generation of @uteamjs applications. Sharing the same philosophy of YAML, the syntax is human-readable and easy to understand.  Developers can learn it quickly by following some examples.

uteam generate

#
uteam generate is a CLI command to generate the complete application module based on app.yaml and @uteamjs/template as input. The output contains an index.js file which exports the router with all generated components and all associated component js files.