Skip to content

didi/cube-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

deb798d Â· Jan 19, 2018
Dec 26, 2017
Nov 15, 2017
Jan 3, 2018
Nov 3, 2017
Jan 18, 2018
Jan 18, 2018
Jan 18, 2018
Jan 19, 2018
Jan 19, 2018
Jan 19, 2018
Nov 3, 2017
Nov 3, 2017
Jan 18, 2018
Jan 18, 2018
Dec 25, 2017
Dec 4, 2017
Nov 3, 2017
Nov 3, 2017
Nov 16, 2017
Nov 16, 2017
Jan 19, 2018
Nov 3, 2017
Jan 2, 2018

Repository files navigation

cube-ui Build Status codecov.io

A fantastic mobile ui lib implement by Vue.

Links

Example QR

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.