Edam

  • About
  • Usage
  • Feature
  • Advanced
  • English
  • GitHub

>Advanced

Advanced

  • Principle
  • Write a template
  • Write a Loader
  • Write a plugin ⚠WIP
  • 独立cli

awesome

  • 安装

Usage

  • Installation
  • Options
Edit

Principle

There are about edam internal principles and processing.

  1. Reads User-Configuration(.edam.rc/edam.config.js).
  2. Registers Plugins.
  3. Checks the config is legal by walli
  4. Pulls the template from exact source.
  5. Installs template's dependencies.
  6. Gets the configuration of template.
  7. Gets values through interactive communication.
  8. Loads template assets.
  9. Transforms and triggers life cycle hooks.
  10. Output the result to file.
  11. Triggers usefulHooks and post hooks.
  12. End

User Configuration

The configuration declaring template sources is suit for users.

Please check out Options for more information.

Template (Development) Configuration

There are located in template files, Please check out "How to write a template" for more information.

Three Pull Ways

  1. git
  2. npm
  3. local files

Checks out "Features"。

Write a template →

Powered by 🍔 Haier.