Go to file
xuxiaoyan 9ab2fd96e3 example(scroll-view): tab-bar continuous click problem 2018-12-18 16:05:28 +08:00
.github feature:update issue template 2018-06-08 23:19:15 +08:00
build build: fix variables file name 2018-12-16 18:53:44 +08:00
components example(scroll-view): tab-bar continuous click problem 2018-12-18 16:05:28 +08:00
config Initial commit 2018-03-26 16:04:04 +08:00
docs fix: code clean up 2018-09-28 15:37:15 +08:00
examples example: remove unused code 2018-12-13 17:07:42 +08:00
site build: update site & examples config 2018-12-14 19:50:41 +08:00
static Initial commit 2018-03-26 16:04:04 +08:00
test test: update test init config 2018-12-10 21:29:43 +08:00
types fix(types): fix type declaration 2018-08-01 18:51:38 +08:00
.babelrc build: update build log & config 2018-12-13 21:18:36 +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 build: update script & bump to beta12 2018-12-12 17:34:21 +08:00
.travis.yml Update CI 2018-04-11 16:41:58 +08:00
CHANGELOG.en-US.md doc: update changelog 2018-12-14 20:50:27 +08:00
CHANGELOG.md doc: update changelog 2018-12-14 20:50:27 +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 doc: update readme 2018-12-14 19:51:38 +08:00
README.zh-CN.md doc: update readme 2018-12-14 19:51:38 +08:00
gulpfile.js Initial commit 2018-03-26 16:04:04 +08:00
jest.config.js build: update script & bump to beta12 2018-12-12 17:34:21 +08:00
package.json build: add variables css building script 2018-12-16 12:42:28 +08:00
postcss.config.js feat: pxtorem: set min pixel value as 2 2018-09-15 23:49:28 +08:00

README.md

mand-mobile

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

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

English | 中文

Preview

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

Mand Mobile Examples

Install & Usage

Template for new project

Vue CLI 2

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

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

Vue CLI 3

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

vue create my-project
cd my-project
npm install --save-dev vue-cli-plugin-mand
vue invoke mand

Manually

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)

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 PR

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

Community

Mand Mobile Community

License

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