Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmui

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmui

Lightweight UI solution for mobile web.

  • 0.10.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

CMUI

A Crude Mobile UI framework.
一个简单粗暴的移动端 Web UI 框架。

CMUI 是一个专攻移动网页的 UI 框架,它提供了丰富的组件和简洁的接口,开箱即用。CMUI 帮助开发者摆脱样式细节和兼容性困扰,从而腾出更多精力投入到业务开发中。

兼容性

浏览器支持
  • 支持以下移动平台的主流浏览器:

    • iOS 5+
    • Android 2.3+
  • 同样支持以下桌面浏览器:

    • Firefox (edge)
    • Chrome (edge)
    • Safari (edge)

(更多细节参见 CMUI 的浏览器分级支持策略。)

外部依赖
  • Zepto 1.1+
  • Underscore 1.6+
  • Underscore.ext 0.3+

安装

  1. 通过 Bower 安装:

    $ bower install cmui
    
  2. 在页面中加载 CMUI 的样式文件、脚本文件及必要的依赖:

    <!DOCTYPE html>
    <html>
    <head>
    	...
    	<link rel="stylesheet" href="bower_components/cmui/dist/cmui.css">
    </head>
    <body>
    	...
    	<script src="bower_components/zepto.js/dist/zepto.js">
    	<script src="bower_components/underscore/underscore.js">
    	<script src="bower_components/underscore.ext/dist/underscore.ext.js">
    	<script src="bower_components/cmui/dist/cmui.js">
    </body>
    </html>
    

演示

建议使用 iOS/Android 设备访问:CMUI Demo

cmui-demo

谁在用?

以下案例基于 CMUI v0.10 构建(建议使用 iOS/Android 设备访问):

以下案例基于 CMUI v0.8 构建(建议使用 iOS/Android 设备访问):


License

MIT License

Keywords

FAQs

Package last updated on 28 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc