Go to file
2019-03-11 19:06:19 +08:00
.github update: issue-template 2017-12-26 11:22:03 +08:00
assets update catalog 2017-11-15 20:56:11 +08:00
build chore(build): support cube.xxx with umd in modules target 2018-09-30 16:50:17 +08:00
config init 2017-11-03 14:35:42 +08:00
docs build: docs 2019-03-11 19:06:19 +08:00
document Recycle list add api (#417) 2019-02-27 10:54:50 +08:00
example chore(demo): radio group demo 2019-02-14 16:26:44 +08:00
lib build: package 2019-03-11 19:03:14 +08:00
src refactor(form): opti comment 2019-03-11 18:41:12 +08:00
test/unit Recycle list add api (#417) 2019-02-27 10:54:50 +08:00
types chore(types): ts type declare err 2019-03-11 15:24:20 +08:00
.babelrc init 2017-11-03 14:35:42 +08:00
.editorconfig init 2017-11-03 14:35:42 +08:00
.eslintignore Support Upload & Radio (#74) 2018-01-18 19:25:52 +08:00
.eslintrc.js Support Upload & Radio (#74) 2018-01-18 19:25:52 +08:00
.gitignore [add] gitignore: test publish files 2018-05-19 13:55:15 +08:00
.travis.yml travis: dev branch support unit test 2017-12-04 11:53:08 +08:00
CONTRIBUTING.md init 2017-11-03 14:35:42 +08:00
LICENSE init 2017-11-03 14:35:42 +08:00
package-lock.json chore(package.json): 1.12.13 2019-03-11 18:59:50 +08:00
package.json chore(package.json): 1.12.13 2019-03-11 18:59:50 +08:00
postcss.config.js init 2017-11-03 14:35:42 +08:00
README_zh-CN.md readme:add app-guide 2018-03-19 17:15:45 +08:00
README.md docs: add download data 2018-04-11 19:28:49 +08:00
yarn.lock Feat Sticky, ScrollNavBar and ScrollNav (#237) 2018-06-29 15:50:04 +08:00

cube-ui Build Status codecov.io downloads

A fantastic mobile ui lib implement by Vue.

Communication

QQ Community QR

New cube-ui project ?

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

$ vue init cube-ui/cube-template projectname

Install

npm install cube-ui --save

Usage

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

Vue.use(Cube)

Use modularized cube-ui

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

ToDo

  • More components

  • Support theme

Development

git clone git@github.com: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.