What is MorJS?
MorJS (pronounced /mɔːr/, like “more”) is an extensible cross-platform mini-program development framework built by Ele.me. Write your mini-program once using either WeChat or Alipay DSL, and MorJS compiles it to run natively on any supported platform.Quick Start
Install MorJS and build your first cross-platform mini-program in minutes.
Architecture
Learn how MorJS’s plugin system and compiler pipeline work together.
Compile Targets
See all supported platforms: WeChat, Alipay, Baidu, ByteDance, Web, and more.
API Reference
Full CLI, configuration, and runtime API documentation.
Key features
Multi-platform
Compile one codebase to WeChat, Alipay, Baidu, ByteDance, QQ, Kuaishou, Taobao, DingTalk mini-programs, and Web.
Native DSL
Use standard WeChat or Alipay mini-program DSL — no new language or framework to learn.
Plugin system
Full lifecycle hooks from source to output. Extend any phase with custom plugins.
Bundle & transform modes
Choose between bundle mode (full npm resolution) or transform mode (source-only conversion).
Runtime normalization
Compile-time and runtime diffing smooths over platform differences for a consistent user experience.
TypeScript & more
First-class support for TypeScript, Less, SCSS, JSONC, and JSON5 file types.
Supported platforms
MorJS can compile your mini-program source to any of these targets:| Target | Platform | Description |
|---|---|---|
wechat | 微信小程序 | |
alipay | Alipay | 支付宝小程序 |
baidu | Baidu | 百度智能小程序 |
bytedance | ByteDance | 字节跳动小程序 (Douyin) |
qq | QQ 小程序 | |
kuaishou | Kuaishou | 快手小程序 |
taobao | Taobao | 淘宝小程序 |
dingding | DingTalk | 钉钉小程序 |
web | Web | H5 Web application |
Get started in minutes
Read the full getting started guide →
Covers installation, project structure, configuration, and your first compile.