# mand-mobile **Repository Path**: didiopensource/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**: 133 - **Forks**: 25 - **Created**: 2019-02-18 - **Last Updated**: 2025-11-02 ## Categories & Tags **Categories**: webui **Tags**: None ## README

面向金融场景的移动端UI组件库,基于Vue.js实现

## 安装 & 使用
### CLI
#### Vue CLI 2
通过[mand-mobile-template](https://github.com/mand-mobile/mand-mobile-template)创建新项目。
```bash
vue init mand-mobile/mand-mobile-template my-project
```
#### Vue CLI 3
通过[vue-cli-plugin-mand](https://github.com/mand-mobile/vue-cli-plugin-mand)向 Vue CLI 3 新建的项目里初始化。(默认支持按需引用)
```bash
vue create my-project
cd my-project
npm install --save-dev vue-cli-plugin-mand
vue invoke mand
```
### 手动安装
在已有项目里手动安装 Mand Mobile 的包。
```bash
npm install mand-mobile --save
```
### 引入
* 使用 babel-plugin-import
或
ts-import-plugin (推荐)
```javascript
import { Button } from 'mand-mobile'
```
* 按需引入
```javascript
import Button from 'mand-mobile/lib/button'
```
* 全量引入
```javascript
import Vue from 'vue'
import mandMobile from 'mand-mobile'
import 'mand-mobile/lib/mand-mobile.css'
Vue.use(mandMobile)
```
### 使用
选择需要的组件开始构建您的webapp,详细内容请查看[快速上手](https://didi.github.io/mand-mobile/#/zh-CN/docs/started)。
## 开发
```bash
git clone git@github.com:didi/mand-mobile.git
cd mand-mobile
npm install
npm run dev
```
打开浏览器访问http://127.0.0.1:4000, 详细内容请查看[开发指南](https://didi.github.io/mand-mobile/#/zh-CN/docs/development)。
## 贡献 [](https://github.com/didi/mand-mobile/pulls)
如有任何的意见或建议,欢迎您通过创建Issue或Pull Request的方式告知我们,请先阅读[贡献指南](CONTRIBUTING.md)。
## 社区
## 证书
Mand Mobile使用Apache License 2.0,查看[证书](LICENSE)。
## 友情链接
* [Hummer](https://github.com/didi/Hummer)是一套高性能高可用的跨端开发框架,一套代码可以同时支持开发 Android 和 iOS 应用。现已经支持 Vue/TypeScript/JavaScript,面向大前端开发人员,总有一款适合你。
* [DoraemonKit](https://github.com/didi/DoraemonKit) /'dɔ:ra:'emɔn/,简称DoKit, 一款功能齐全的客户端( iOS 、Android、微信小程序 )研发助手,你值得拥有。
* [Chameleon](https://github.com/didi/chameleon)/kəˈmiːlɪən/,简写CML,中文意思变色龙,意味着就像变色龙一样能适应不同环境的跨端整体解决方案,达到真正意义上"一套代码,多端运行"的终极目标。