YangDaqiong / cube-ui

:large_orange_diamond: A fantastic mobile ui lib implement by Vue

Home Page:https://didi.github.io/cube-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cube-ui Build Status codecov.io downloads

A fantastic mobile ui lib implement by Vue.

Links

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.

About

:large_orange_diamond: A fantastic mobile ui lib implement by Vue

https://didi.github.io/cube-ui/

License:Apache License 2.0


Languages

Language:JavaScript 91.2%Language:Vue 8.4%Language:CSS 0.3%Language:HTML 0.0%Language:Shell 0.0%