Go to file
xuxiaoyan 2be515481b example(selector): update demo configration 2019-08-07 16:06:06 +08:00
.github chore: update issue template 2019-08-06 17:03:47 +08:00
build fix: resolved 'build components complete' log (#502) 2019-07-29 10:42:56 +08:00
components example(selector): update demo configration 2019-08-07 16:06:06 +08:00
config Initial commit 2018-03-26 16:04:04 +08:00
docs Update docs & examples 2019-07-18 15:05:38 +08:00
examples doc(ruler):update readme & meta info 2019-04-06 22:38:44 +08:00
site site: update configration & style 2019-08-03 10:50:16 +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 feat(toast):add Toast.component for componentized usage (#464) 2019-06-13 16:15:58 +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: add lock file 2019-02-22 20:43:02 +08:00
.npmrc build: add npm config 2019-02-23 11:11:56 +08:00
.travis.yml chore(travis): add dev branch (#521) 2019-08-01 11:49:43 +08:00
CHANGELOG.en-US.md Bump up version to 2.4.1 2019-08-03 10:51:08 +08:00
CHANGELOG.md Bump up version to 2.4.1 2019-08-03 10:51:08 +08:00
CHECKLIST.md Update CHECKLIST.md 2019-03-15 18:13:07 +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 started & readme 2019-07-22 11:35:35 +08:00
README.zh-CN.md doc: update started & readme 2019-07-22 11:35:35 +08:00
gulpfile.js Initial commit 2018-03-26 16:04:04 +08:00
jest.config.js test(ruler): add ruler jest test (#395) 2019-04-09 17:53:58 +08:00
package-lock.json Dev (#450) 2019-05-25 10:29:38 +08:00
package.json Bump up version to 2.4.1 2019-08-03 10:51:08 +08:00
postcss.config.js build: fix rollup config 2019-03-08 19:32:20 +08:00

README.md

LOGO

mand-mobile

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

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


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 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.