# mand-mobile **Repository Path**: turtle/mand-mobile ## Basic Information - **Project Name**: mand-mobile - **Description**: 面向金融场景的移动端UI组件库,基于Vue.js实现 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 25 - **Created**: 2020-04-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mand-mobile [![Build Status](https://img.shields.io/travis/didi/mand-mobile/master.svg?style=flat-square)](https://travis-ci.org/didi/mand-mobile) [![codecov](https://img.shields.io/codecov/c/github/didi/mand-mobile/master.svg?style=flat-square)](https://codecov.io/gh/didi/mand-mobile) [![npm package](https://img.shields.io/npm/v/mand-mobile.svg?style=flat-square)](https://www.npmjs.org/package/mand-mobile) [![License](https://img.shields.io/npm/l/mand-mobile.svg?style=flat-square)](https://www.npmjs.org/package/mand-mobile)
[![npm downloads](http://img.shields.io/npm/dm/mand-mobile.svg?style=flat-square)](http://npmtrends.com/mand-mobile) [![gzip js size](http://img.badgesize.io/https://unpkg.com/mand-mobile/lib/mand-mobile.umd.js?compression=gzip&label=gzip%20size:%20JS&style=flat-square)](https://unpkg.com/mand-mobile/) [![gzip css size](http://img.badgesize.io/https://unpkg.com/mand-mobile/lib/mand-mobile.css?compression=gzip&label=gzip%20size:%20CSS&style=flat-square)](https://unpkg.com/mand-mobile/) A mobile UI toolkit, based on Vue.js 2, designed for financial scenarios. **English** | [中文](./README.zh-CN.md) ## Links * [Home](https://didi.github.io/mand-mobile/) * [Development Guide](site/docs/development.md) * [Change Log](CHANGELOG.md) * [Examples](https://didi.github.io/mand-mobile/examples/) * [Palette](https://github.com/mand-mobile/palette) * [Mand Mobile Organization](https://github.com/mand-mobile) ## 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](https://github.com/vuejs/vue-cli/tree/v2) with [mand-mobile-template](https://github.com/mand-mobile/mand-mobile-template). ```bash 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](https://github.com/vuejs/vue-cli/tree/master) with [vue-cli-plugin-mand](https://github.com/mand-mobile/vue-cli-plugin-mand). ```bash vue create my-project cd my-project npm install --save-dev vue-cli-plugin-mand vue invoke mand ``` ### Manually ```bash npm install mand-mobile --save ``` ### Import * Use babel-plugin-import or ts-import-plugin (Recommended) ```javascript import { Button } from 'mand-mobile' ``` * Manually import ```javascript import Button from 'mand-mobile/lib/button' ``` * Totally import ```javascript 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](https://didi.github.io/mand-mobile/#/docs/preview) and [Quick Start](https://didi.github.io/mand-mobile/#/docs/started). ## Development ```bash 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](https://didi.github.io/mand-mobile/#/docs/development). ## Contributing [![PR](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/didi/mand-mobile/pulls) Welcome to contribute by creating issues or sending pull requests. See [Contributing Guide](CONTRIBUTING.md) for guidelines. ## Community Mand Mobile Community ## License Mand Mobile is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file.