didi /cube-ui

:large_orange_diamond: A fantastic mobile ui lib implement by Vue

★ 9,088⑂ 1,439👁 210⑃ 222● 612▤ 76
JavaScriptApache-2.0Created 2017-11-03didi.github.io/cube-ui/
Download: v1.12.38cube-ui-1.12.38 ↓1.12.382020-04-29
+0
Daily
9,088
stars
1,439
forks
210
watchers
222
prs
612
issues
76
releases

README

cube-ui   

 A fantastic mobile ui lib implement by Vue.

 Links

- Home
- Docs
- Example

  !Example QR

- Application Guide

 Communication

!QQ Community QR

 New cube-ui project ?

Recommend use the CLI tools base on vue-cli to init the config and base code:

shell
$ vue init cube-ui/cube-template projectname


 Install

shell
npm install cube-ui --save


 Usage

js
import Vue from 'vue'
import Cube from 'cube-ui'

Vue.use(Cube)


 Use modularized cube-ui

js
import Vue from 'vue'
import {
  / eslint-disable no-unused-vars /
  Style,
  Button,
  ActionSheet
} from 'cube-ui'

Vue.use(Button)
Vue.use(ActionSheet)


For more information, please refer to Quick Start


 Development

shell
git clone [email protected]:didi/cube-ui.git
cd cube-ui
npm install
npm run dev
 or run document development
npm run doc-dev


 Changelog

Detailed changes for each release are documented in the release notes.

 DiDi Open Sources

- Mpx: An enhanced miniprogram framework with data reactivity and deep optimizition.
- Chameleon/kəˈmiːlɪən/: Unify all platforms(Web/Weex/Mini program) with MVVM. Focus on Write Once Run AnyWhere.
- mand-mobile: A mobile UI toolkit, based on Vue.js 2, designed for financial scenarios.
- DoraemonKit/'dɔ:ra:'emɔn/: A full-featured App (iOS & Android) development assistant. You deserve it.
- Booster: An easy-to-use, lightweight, powerful and extensible quality optimization toolkit designed specially for mobile applications.
- More repos

Top issues

Latest release

v1.12.38 v1.12.38 2020-04-29
Fixes

- Scroll, IndexList, ScrollNavBar, ScrollNav: fix scrolling bounce bug when iOS sys version = 13.4. As https://github.com/ustbhuangyi/better-scroll/issues/978 .

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON