美文网首页
12-antd-mobile组件使用

12-antd-mobile组件使用

作者: 谷子多 | 来源:发表于2018-06-25 12:15 被阅读0次

蚂蚁金服出品的UI组件库。
1、安装

 npm install antd-mobile@next --save
npm install babel-plugin-import --save

2、简单使用

import {Button} from 'antd-mobile'
import 'antd-mobile/dist/antd-mobile.css'
 <Button type='primary'>按钮</Button>

相关文章

网友评论

      本文标题:12-antd-mobile组件使用

      本文链接:https://www.haomeiwen.com/subject/lwieyftx.html