引入 antd-mobile 的 Button
认真看文档:按需引入
@dianjie
通过init来引入的antd-mobile,看实例特别卡,而且native不用没有必要配置webpack。文档里写的不清楚,究竟是移动端web还是native,还是两者都是。
直接在自己的项目中引入antd-mobile红屏报错,这个看文档,可是看不出来为什么的。
文档在持续不断优化,请关注更新:https://mobile.ant.design/docs/react/introduce#使用
我目前這樣搭配可以運行
https://github.com/smalltide/react-native-antd
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.