gitmyhub

mui

JavaScript ★ 13k updated 1y ago

最接近原生APP体验的高性能框架

Mui is a Chinese-made JavaScript framework for building mobile apps with web technology that feel close to native, solving common HTML5 mobile problems like page-transition flicker, clunky animations, and jittery scrolling.

JavaScriptHTMLCSSsetup: moderatecomplexity 3/5

Mui is a front-end framework for building mobile phone apps using web technology, written by the Chinese company DCloud. The README is in Chinese and quite short. Its main argument is about a problem that pushed many mobile developers away from building apps with HTML5, the standard language of web pages. When you build a phone app out of web pages, it often feels worse than a true native app: the screen flashes white when moving between pages, page transition animations look clumsy, floating elements jitter, and pull-to-refresh does not scroll smoothly. These problems are worse on low-end Android phones. On top of that, the default styling of web form controls is plain and limited, and making them look good is tedious work.

Mui is presented as a way to address these issues. The README describes it as a framework for conveniently building high-performance apps, and claims it comes closest to giving a native app feel while still being built with web technology. In practical terms it provides a set of ready-made interface components and behaviors tuned for mobile.

The rest of the README is mostly pointers rather than instructions. It asks for financial support through a sponsorship link. It directs readers to the official mui website for documentation, noting that the docs site itself is built with Jekyll, a tool that generates websites from text files. For a quick hands-on look, it offers a sample app called Hello MUI that you can download or get by scanning a QR code to try the components on a phone. There is also a link to a question-and-answer community where users can share experiences and ask questions.

The project is released under the MIT license. The README recommends pairing mui with the company's own code editor, HBuilder, because the mui components are packaged as code snippets there, so typing a few characters generates the matching HTML. The README does not include detailed setup steps or a feature list, so for real usage you would need to follow the linked official documentation.

Where it fits