react native中引入antd-mobile

1.安装antd-mobile与babel-plugin-importreact yarn add antd-mobile react-dom yarn add --dev babel-plugin-import 2.编辑 .babelrcweb {"plugins": [["import", { "libraryName": "antd-mobile" }]]} 3.使用json import
相关文章
相关标签/搜索