Go to file
moyus 3dd4560a30 fix(check-box): style variable 2018-07-23 18:01:48 +08:00
.github feature:update issue template 2018-06-08 23:19:15 +08:00
build resolve conflicts 2018-07-20 14:25:51 +08:00
components fix(check-box): style variable 2018-07-23 18:01:48 +08:00
config Initial commit 2018-03-26 16:04:04 +08:00
docs resolve conficts 2018-05-15 11:46:17 +08:00
examples resolve conflicts 2018-07-20 14:25:51 +08:00
site site: update style & add version to header 2018-07-13 11:53:51 +08:00
static Initial commit 2018-03-26 16:04:04 +08:00
test/unit build:update karma configuration 2018-06-30 17:39:30 +08:00
types Initial commit 2018-03-26 16:04:04 +08:00
.babelrc fix: build bug 2018-05-04 20:05:03 +08:00
.editorconfig Initial commit 2018-03-26 16:04:04 +08:00
.eslintignore Initial commit 2018-03-26 16:04:04 +08:00
.eslintrc.js Initial commit 2018-03-26 16:04:04 +08:00
.gitignore fix: ignore lib-vw 2018-05-14 10:36:08 +08:00
.travis.yml Update CI 2018-04-11 16:41:58 +08:00
CHANGELOG.en-US.md doc:add a version number identifier for new features 2018-06-28 00:21:08 +08:00
CHANGELOG.md doc:add a version number identifier for new features 2018-06-28 00:21:08 +08:00
CONTRIBUTING.md Initial commit 2018-03-26 16:04:04 +08:00
LICENSE Initial commit 2018-03-26 16:04:04 +08:00
README.md Update readme 2018-06-15 16:34:26 +08:00
README.zh-CN.md Update readme 2018-06-15 16:34:26 +08:00
gulpfile.js Initial commit 2018-03-26 16:04:04 +08:00
package.json build: Make the build script more robust 2018-07-05 11:10:03 +08:00
postcss.config.js fix: build bug 2018-05-04 20:05:03 +08:00

README.md

English | 中文


mand-mobile

Build Status codecov npm package npm downloads gzip js size gzip css size

A mobile UI toolkit, based on Vue.js 2, is designed for financial scenarios.

Preview

You can scan the following QR code to access the examples:

Mand Mobile Examples

Install & Usage

Template for new project

New project can be initialized and integrated with mand-mobile by vue-cli with mand-mobile-template.

vue init mand-mobile/mand-mobile-template my-project

Install

npm install mand-mobile --save

Import

import { Button } from 'mand-mobile'
  • Manually import
import Button from 'mand-mobile/lib/button'
  • Totally import
import Vue from 'vue'
import mandMobile from 'mand-mobile'
import 'mand-mobile/lib/mand-mobile.css'

Vue.use(mandMobile)

CDN

<link rel="stylesheet" href="https://unpkg.com/mand-mobile/lib/mand-mobile.css">
<script src="https://unpkg.com/mand-mobile/lib/mand-mobile.umd.js"></script>

Usage

Select the components you need to build your webapp. Find more details in Component Preview and Quick Start.

Development

git clone git@github.com:didi/mand-mobile.git
cd mand-mobile
npm install
npm run dev

Open your browser and visit http://127.0.0.1:4000. Find more details in Development Guide.

Contributing

Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.

License

Mand Mobile is licensed under the Apache License 2.0. See the LICENSE file.