# 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
[](https://travis-ci.org/didi/mand-mobile)
[](https://codecov.io/gh/didi/mand-mobile)
[](https://www.npmjs.org/package/mand-mobile)
[](https://www.npmjs.org/package/mand-mobile)
[](http://npmtrends.com/mand-mobile)
[](https://unpkg.com/mand-mobile/)
[](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:
## 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 [](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
## License
Mand Mobile is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file.