Mpx is a cross-platform mini-program framework that compiles to mini-programs, web applications, and React Native platforms.
Mpx addresses the challenge of building applications that run across multiple platforms—including WeChat, Alipay, Baidu, QQ, Douyin, JD.com and other mini-program ecosystems, web browsers, and React Native for iOS, Android, and Harmony—without maintaining separate codebases. It provides a Vue-like development experience with reactive programming patterns, allowing developers to write once and compile to any target platform. The framework handles both compilation output and runtime behavior, managing the differences between platforms automatically.
Teams building applications that need to reach multiple mini-program platforms alongside web and native mobile should consider Mpx. It suits projects where code reuse across platforms is a priority and where the Vue-style syntax aligns with team preferences. The framework includes performance optimization features and supports atomic classes and server-side rendering. A companion component library, mpx-cube-ui, is available for mobile development.
The project maintains active development with regular updates to core functionality and documentation. Test and documentation workflows run continuously to verify stability. The framework has evolved to support emerging features like atomic classes and build output optimization, with migration guidance provided for developers upgrading between versions.